qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 050/124] vmstate: Remove unused version fields from


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 050/124] vmstate: Remove unused version fields from ARM
Date: Mon, 21 Apr 2014 16:40:30 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 target-ppc/machine.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/target-ppc/machine.c b/target-ppc/machine.c
index d7807f8..4540fe2 100644
--- a/target-ppc/machine.c
+++ b/target-ppc/machine.c
@@ -120,11 +120,8 @@ static const VMStateInfo vmstate_info_avr = {
     .put  = put_avr,
 };

-#define VMSTATE_AVR_ARRAY_V(_f, _s, _n, _v)                       \
-    VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_avr, ppc_avr_t)
-
-#define VMSTATE_AVR_ARRAY(_f, _s, _n)                             \
-    VMSTATE_AVR_ARRAY_V(_f, _s, _n, 0)
+#define VMSTATE_AVR_ARRAY(_f, _s, _n)                                 \
+    VMSTATE_ARRAY_TEST(_f, _s, _n, NULL, vmstate_info_avr, ppc_avr_t)

 static void cpu_pre_save(void *opaque)
 {
@@ -290,11 +287,8 @@ static const VMStateInfo vmstate_info_slbe = {
     .put  = put_slbe,
 };

-#define VMSTATE_SLB_ARRAY_V(_f, _s, _n, _v)                       \
-    VMSTATE_ARRAY(_f, _s, _n, _v, vmstate_info_slbe, ppc_slb_t)
-
-#define VMSTATE_SLB_ARRAY(_f, _s, _n)                             \
-    VMSTATE_SLB_ARRAY_V(_f, _s, _n, 0)
+#define VMSTATE_SLB_ARRAY(_f, _s, _n)                                 \
+    VMSTATE_ARRAY_TEST(_f, _s, _n, NULL, vmstate_info_slbe, ppc_slb_t)

 static bool slb_needed(void *opaque)
 {
-- 
1.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]