From: "Jan Beulich" Subject: [PATCH 1/2] x86emul: drop unused "bigval" fields from struct operand Date: Tue, 10 Mar 2015 16:35:34 +0000 Message-ID: <54FF2B6702000078000683B4@mail.emea.novell.com> References: <54FF2A50020000780006838B@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part98AD3E46.1__=" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YVN8B-0008Oa-7o for xen-devel@lists.xenproject.org; Tue, 10 Mar 2015 16:35:43 +0000 In-Reply-To: <54FF2A50020000780006838B@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Andrew Cooper , Keir Fraser List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part98AD3E46.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Signed-off-by: Jan Beulich --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@ -313,17 +313,11 @@ struct operand { enum { OP_REG, OP_MEM, OP_IMM, OP_NONE } type; unsigned int bytes; =20 - /* 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; =20 - /* 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; =20 union { /* OP_REG: Pointer to register field. */ --=__Part98AD3E46.1__= Content-Type: text/plain; name="x86emul-drop-bigval.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86emul-drop-bigval.patch" x86emul: drop unused "bigval" fields from struct operand=0A=0ASigned-off-by= : Jan Beulich =0A=0A--- a/xen/arch/x86/x86_emulate/x86_e= mulate.c=0A+++ b/xen/arch/x86/x86_emulate/x86_emulate.c=0A@@ -313,17 = +313,11 @@ struct operand {=0A enum { OP_REG, OP_MEM, OP_IMM, OP_NONE = } type;=0A unsigned int bytes;=0A =0A- /* Up to 128-byte operand = value, addressable as ulong or uint32_t[]. */=0A- union {=0A- = unsigned long val;=0A- uint32_t bigval[4];=0A- };=0A+ /* = Operand value. */=0A+ unsigned long val;=0A =0A- /* Up to 128-byte = operand value, addressable as ulong or uint32_t[]. */=0A- union {=0A- = unsigned long orig_val;=0A- uint32_t orig_bigval[4];=0A- = };=0A+ /* Original operand value. */=0A+ unsigned long orig_val;=0A = =0A union {=0A /* OP_REG: Pointer to register field. */=0A --=__Part98AD3E46.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part98AD3E46.1__=--