From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] x86/MSI: remove stray endianness definition Date: Fri, 04 May 2012 14:25:40 +0100 Message-ID: References: <4FA3E9530200007800081A2F@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FA3E9530200007800081A2F@nat28.tlf.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: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 04/05/2012 13:36, "Jan Beulich" wrote: > ... as it conflicts with the one made in asm/byteorder.h, and hence > build fails when both happen to be included from the same source file. > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser > --- a/xen/include/asm-x86/msi.h > +++ b/xen/include/asm-x86/msi.h > @@ -3,6 +3,7 @@ > > #include > #include > +#include > > /* > * Constants for Intel APIC based MSI messages. > @@ -165,8 +166,6 @@ int msi_free_irq(struct msi_desc *entry) > #define MSI_LOGICAL_MODE 1 > #define MSI_REDIRECTION_HINT_MODE 0 > > -#define __LITTLE_ENDIAN_BITFIELD 1 > - > struct msg_data { > #if defined(__LITTLE_ENDIAN_BITFIELD) > __u32 vector : 8; > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel