Skip to content

Commit

Permalink
xen: compilation fix of drivers/xen/events.c on IA64
Browse files Browse the repository at this point in the history
use set_xen_guest_handle() instead of direct assigning.

> linux-2.6/drivers/xen/events.c: In function 'xen_poll_irq':
> linux-2.6/drivers/xen/events.c:757: error: incompatible types in assignment
> make[4]: *** [drivers/xen/events.o] Error 1

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Isaku Yamahata authored and Ingo Molnar committed Oct 23, 2008
1 parent 75909fd commit ff3c536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ void xen_poll_irq(int irq)

poll.nr_ports = 1;
poll.timeout = 0;
poll.ports = &evtchn;
set_xen_guest_handle(poll.ports, &evtchn);

if (HYPERVISOR_sched_op(SCHEDOP_poll, &poll) != 0)
BUG();
Expand Down

0 comments on commit ff3c536

Please sign in to comment.