aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/msi.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-05-07 10:13:15 +0200
committerJan Beulich <jbeulich@suse.com>2012-05-07 10:13:15 +0200
commit68e6f038a42cad1a75d219b94df9ddbb3a713709 (patch)
treef7da05a93e1caf9631f5d6c5633e8786dfdbe854 /xen/include/asm-x86/msi.h
parent20decdb30a597d47f0ec363a4141e3a830b047fe (diff)
downloadxen-68e6f038a42cad1a75d219b94df9ddbb3a713709.tar.gz
xen-68e6f038a42cad1a75d219b94df9ddbb3a713709.tar.bz2
xen-68e6f038a42cad1a75d219b94df9ddbb3a713709.zip
x86/MSI: remove stray endianness definition
... 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 <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/msi.h')
-rw-r--r--xen/include/asm-x86/msi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/include/asm-x86/msi.h b/xen/include/asm-x86/msi.h
index 9715ac8522..4778420baf 100644
--- a/xen/include/asm-x86/msi.h
+++ b/xen/include/asm-x86/msi.h
@@ -3,6 +3,7 @@
#include <xen/cpumask.h>
#include <xen/pci.h>
+#include <asm/byteorder.h>
/*
* 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;