From 49ecbb58e06f4ed07276ad222f20345229c0c1f1 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 10 Jul 2008 15:32:18 +0100 Subject: stubdom: Fixes for gcc 4.2.4 32bit Signed-off-by: Samuel Thibault --- extras/mini-os/pcifront.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extras/mini-os/pcifront.c') diff --git a/extras/mini-os/pcifront.c b/extras/mini-os/pcifront.c index 9f40081758..a924a6e8d9 100644 --- a/extras/mini-os/pcifront.c +++ b/extras/mini-os/pcifront.c @@ -216,10 +216,10 @@ void pcifront_op(struct pcifront_dev *dev, struct xen_pci_op *op) 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(); -- cgit v1.2.3