Skip to content

Commit

Permalink
qemu-common.h: Drop WORDS_ALIGNED define
Browse files Browse the repository at this point in the history
The WORDS_ALIGNED #define is not used anywhere, and hasn't been since
2013 when commit 612d590 rewrote the various ld<type>_<endian>_p
functions to not use it. Remove the #define and the comment describing it.
Also remove the line in the comment about TARGET_WORDS_ALIGNED, since
it has never actually existed.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
pm215 authored and Michael Tokarev committed Jun 7, 2016
1 parent e52eeb4 commit 0d5c21f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions include/exec/cpu-all.h
Expand Up @@ -33,15 +33,10 @@
#define EXCP_YIELD 0x10004 /* cpu wants to yield timeslice to another */

/* some important defines:
*
* WORDS_ALIGNED : if defined, the host cpu can only make word aligned
* memory accesses.
*
* HOST_WORDS_BIGENDIAN : if defined, the host cpu is big endian and
* otherwise little endian.
*
* (TARGET_WORDS_ALIGNED : same for target cpu (not supported yet))
*
* TARGET_WORDS_BIGENDIAN : same for target cpu
*/

Expand Down
4 changes: 0 additions & 4 deletions include/qemu-common.h
Expand Up @@ -14,10 +14,6 @@

#include "qemu/fprintf-fn.h"

#if defined(__arm__) || defined(__sparc__) || defined(__mips__) || defined(__hppa__) || defined(__ia64__)
#define WORDS_ALIGNED
#endif

#define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR)

#include "qemu/option.h"
Expand Down

0 comments on commit 0d5c21f

Please sign in to comment.