diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-12-06 16:05:31 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-12-06 16:05:31 +0100 |
commit | f855f752599ecdddb47cf9f80e1f16bb28822455 (patch) | |
tree | 06d4191cb5d6ab1815f5949a0556a4ad2ecc0aaa /extras/mini-os/events.c | |
parent | ee694618a7384afe8d5dfbab28a6b400ce28711d (diff) | |
download | xen-f855f752599ecdddb47cf9f80e1f16bb28822455.tar.gz xen-f855f752599ecdddb47cf9f80e1f16bb28822455.tar.bz2 xen-f855f752599ecdddb47cf9f80e1f16bb28822455.zip |
The Mini-OS build once again broke, this time since vcpu_data became vcpu_info
and that XEN_VER in the __xen_guest section changed slightly. I've modified
the mini-os so that it at least compiles and boots again.
Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se>
Diffstat (limited to 'extras/mini-os/events.c')
-rw-r--r-- | extras/mini-os/events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/mini-os/events.c b/extras/mini-os/events.c index 5263c8757e..adf0afd13e 100644 --- a/extras/mini-os/events.c +++ b/extras/mini-os/events.c @@ -77,6 +77,7 @@ int bind_virq( u32 virq, void (*handler)(int, struct pt_regs *) ) /* Try to bind the virq to a port */ op.cmd = EVTCHNOP_bind_virq; op.u.bind_virq.virq = virq; + op.u.bind_virq.vcpu = smp_processor_id(); if ( HYPERVISOR_event_channel_op(&op) != 0 ) { |