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

[Xen-changelog] [xen-unstable] stubdom: Fixes for gcc 4.2.4 32bit



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1215700338 -3600
# Node ID b7598d2e479198399ae0a91ca5d8779df14e5a8b
# Parent  7749f135140a637d1ae58a137f23298f042b030b
stubdom: Fixes for gcc 4.2.4 32bit
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/include/types.h |    1 -
 extras/mini-os/pcifront.c      |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff -r 7749f135140a -r b7598d2e4791 extras/mini-os/include/types.h
--- a/extras/mini-os/include/types.h    Thu Jul 10 15:30:39 2008 +0100
+++ b/extras/mini-os/include/types.h    Thu Jul 10 15:32:18 2008 +0100
@@ -89,6 +89,5 @@ typedef intptr_t            ptrdiff_t;
 #ifndef HAVE_LIBC
 typedef long ssize_t;
 #endif
-typedef unsigned long size_t;
 
 #endif /* _TYPES_H_ */
diff -r 7749f135140a -r b7598d2e4791 extras/mini-os/pcifront.c
--- a/extras/mini-os/pcifront.c Thu Jul 10 15:30:39 2008 +0100
+++ b/extras/mini-os/pcifront.c Thu Jul 10 15:32:18 2008 +0100
@@ -216,10 +216,10 @@ void pcifront_op(struct pcifront_dev *de
     dev->info->op = *op;
     /* Make sure info is written before the flag */
     wmb();
-    set_bit(_XEN_PCIF_active, &dev->info->flags);
+    set_bit(_XEN_PCIF_active, (void*) &dev->info->flags);
     notify_remote_via_evtchn(dev->evtchn);
 
-    wait_event(pcifront_queue, !test_bit(_XEN_PCIF_active, &dev->info->flags));
+    wait_event(pcifront_queue, !test_bit(_XEN_PCIF_active, (void*) 
&dev->info->flags));
 
     /* Make sure flag is read before info */
     rmb();

_______________________________________________
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®.