[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 34/52] qemu-common.h: Drop WORDS_ALIGNED define
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 34/52] qemu-common.h: Drop WORDS_ALIGNED define |
Date: |
Sun, 5 Jun 2016 10:43:11 +0300 |
From: Peter Maydell <address@hidden>
The WORDS_ALIGNED #define is not used anywhere, and hasn't been since
2013 when commit 612d590ebc6cef 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 <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
include/exec/cpu-all.h | 5 -----
include/qemu-common.h | 4 ----
2 files changed, 9 deletions(-)
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 3911576..9f38edf 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -34,14 +34,9 @@
/* 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
*/
diff --git a/include/qemu-common.h b/include/qemu-common.h
index 835cbc6..1f2cb94 100644
--- a/include/qemu-common.h
+++ b/include/qemu-common.h
@@ -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"
--
2.1.4
- [Qemu-trivial] [PULL 40/52] qed: Use DIV_ROUND_UP, (continued)
- [Qemu-trivial] [PULL 40/52] qed: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 48/52] slirp: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 47/52] usb: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 37/52] coccinelle: use macro DIV_ROUND_UP instead of (((n) + (d) - 1) /(d)), Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 44/52] audio: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 46/52] rocker: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 01/52] s390x/virtio-ccw: fix spelling, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 27/52] pc: cleanup unused struct PcRomPciInfo, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 17/52] scripts: Use $(..) instead of deprecated `..`, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 26/52] e1000: Removing unnecessary if statement, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 34/52] qemu-common.h: Drop WORDS_ALIGNED define,
Michael Tokarev <=
- [Qemu-trivial] [PULL 32/52] docs/multi-thread-compression: Fix wrong command string, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 38/52] parallels: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 05/52] fsdev: spelling fix, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 15/52] qemu-options.hx: Specify the units for -machine kvm_shadow_mem, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 18/52] ICH9: fix typo, Michael Tokarev, 2016/06/05
- Re: [Qemu-trivial] [Qemu-devel] [PULL 00/52] Trivial patches for 2016-06-05, Peter Maydell, 2016/06/06