]> xenbits.xensource.com Git - xen.git/commitdiff
x86emul: drop unused "bigval" fields from struct operand
authorJan Beulich <jbeulich@suse.com>
Wed, 11 Mar 2015 13:08:02 +0000 (14:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Mar 2015 13:08:02 +0000 (14:08 +0100)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c

index 0c73695fc17d45d9256cb86e7873c4f1395253a2..abb5bc72d9c9af98e9ab6f0cfb7601579e541933 100644 (file)
@@ -313,17 +313,11 @@ struct operand {
     enum { OP_REG, OP_MEM, OP_IMM, OP_NONE } type;
     unsigned int bytes;
 
-    /* Up to 128-byte operand value, addressable as ulong or uint32_t[]. */
-    union {
-        unsigned long val;
-        uint32_t bigval[4];
-    };
+    /* Operand value. */
+    unsigned long val;
 
-    /* Up to 128-byte operand value, addressable as ulong or uint32_t[]. */
-    union {
-        unsigned long orig_val;
-        uint32_t orig_bigval[4];
-    };
+    /* Original operand value. */
+    unsigned long orig_val;
 
     union {
         /* OP_REG: Pointer to register field. */