]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Xen: make events.c portable for ia64/xen support
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 2 Apr 2008 17:53:56 +0000 (10:53 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Apr 2008 21:57:32 +0000 (23:57 +0200)
commite849c3e9e0b786619c451d89ef0c47ac9a28fbc1
treebc3500d40095c2f868e2efca4918b73a6b0a1090
parente04d0d0767a9c272d3c7300fb7a5221c5e3a71eb
Xen: make events.c portable for ia64/xen support

Remove x86 dependency in drivers/xen/events.c for ia64/xen support
introducing include/asm/xen/events.h.
Introduce xen_irqs_disabled() to hide regs->flags
Introduce xen_do_IRQ() to hide regs->orig_ax.
make enum ipi_vector definition arch specific. ia64/xen needs four vectors.
Add one rmb() because on ia64 xchg() isn't barrier.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/xen/events.c
include/asm-x86/xen/events.h [new file with mode: 0644]
include/xen/events.h