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

[Xen-changelog] [xen-unstable] x86/MSI: remove stray endianness definition


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Mon, 14 May 2012 16:32:11 +0000
  • Delivery-date: Mon, 14 May 2012 16:32:17 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1336378395 -7200
# Node ID b9eac81e8564f67cd2157f7d4f805e1b7c868996
# Parent  0f53540494f779a1260d4e5319dcdb268389dd07
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@xxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 0f53540494f7 -r b9eac81e8564 xen/include/asm-x86/msi.h
--- a/xen/include/asm-x86/msi.h Fri May 04 11:18:48 2012 +0100
+++ b/xen/include/asm-x86/msi.h Mon May 07 10:13:15 2012 +0200
@@ -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;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.