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

[Xen-changelog] [xen-unstable] stubdom pcilib: define endianness for minios



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1255505591 -3600
# Node ID b3c9f5f9532a0dba89204c37d7fb85144e2ad973
# Parent  af81d6f7363958cbe7d002495b84e15f7de8bbce
stubdom pcilib: define endianness for minios

Include endian.h for MiniOS.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 stubdom/pciutils.patch |    9 +++++++++
 1 files changed, 9 insertions(+)

diff -r af81d6f73639 -r b3c9f5f9532a stubdom/pciutils.patch
--- a/stubdom/pciutils.patch    Wed Oct 14 08:31:07 2009 +0100
+++ b/stubdom/pciutils.patch    Wed Oct 14 08:33:11 2009 +0100
@@ -297,3 +297,17 @@ diff -urN pciutils-2.2.9.orig/lib/access
  }
  
  static int
+diff -uNpbE -uNpbEr pciutils-2.2.9.orig/lib/sysdep.h 
pciutils-2.2.9/lib/sysdep.h
+--- pciutils-2.2.9.orig/lib/sysdep.h   2007-02-06 12:00:18.000000000 +0000
++++ pciutils-2.2.9/lib/sysdep.h        2009-07-22 16:26:30.000000000 +0100
+@@ -32,6 +32,10 @@ typedef u16 word;
+ 
+ #else
+ 
++#ifdef PCI_OS_MINIOS
++#include <machine/endian.h>
++#endif
++
+ #ifdef PCI_OS_LINUX
+ #include <endian.h>
+ #define BYTE_ORDER __BYTE_ORDER

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.