diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-10 15:32:18 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-10 15:32:18 +0100 |
commit | 49ecbb58e06f4ed07276ad222f20345229c0c1f1 (patch) | |
tree | 1a7c5e89ee1150fed3df46a706831268be1753da /extras/mini-os/pcifront.c | |
parent | 51cf89ed5da0f2e865d976b8baee54ffcfdd25a6 (diff) | |
download | xen-49ecbb58e06f4ed07276ad222f20345229c0c1f1.tar.gz xen-49ecbb58e06f4ed07276ad222f20345229c0c1f1.tar.bz2 xen-49ecbb58e06f4ed07276ad222f20345229c0c1f1.zip |
stubdom: Fixes for gcc 4.2.4 32bit
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/pcifront.c')
-rw-r--r-- | extras/mini-os/pcifront.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |