xen: event channel arrays are xen_ulong_t and not unsigned long
[deliverable/linux.git] / arch / x86 / include / asm / xen / events.h
CommitLineData
05e4d316
PA
1#ifndef _ASM_X86_XEN_EVENTS_H
2#define _ASM_X86_XEN_EVENTS_H
e849c3e9
IY
3
4enum ipi_vector {
5 XEN_RESCHEDULE_VECTOR,
6 XEN_CALL_FUNCTION_VECTOR,
3b16cf87 7 XEN_CALL_FUNCTION_SINGLE_VECTOR,
2d9e1e2f 8 XEN_SPIN_UNLOCK_VECTOR,
1ff2b0c3 9 XEN_IRQ_WORK_VECTOR,
e849c3e9
IY
10
11 XEN_NR_IPIS,
12};
13
14static inline int xen_irqs_disabled(struct pt_regs *regs)
15{
16 return raw_irqs_disabled_flags(regs->flags);
17}
18
c81611c4
IC
19/* No need for a barrier -- XCHG is a barrier on x86. */
20#define xchg_xen_ulong(ptr, val) xchg((ptr), (val))
21
05e4d316 22#endif /* _ASM_X86_XEN_EVENTS_H */
This page took 0.324573 seconds and 5 git commands to generate.