1 #ifndef _ASM_X86_XEN_EVENTS_H
2 #define _ASM_X86_XEN_EVENTS_H
6 XEN_CALL_FUNCTION_VECTOR
,
7 XEN_CALL_FUNCTION_SINGLE_VECTOR
,
8 XEN_SPIN_UNLOCK_VECTOR
,
15 static inline int xen_irqs_disabled(struct pt_regs
*regs
)
17 return raw_irqs_disabled_flags(regs
->flags
);
20 /* No need for a barrier -- XCHG is a barrier on x86. */
21 #define xchg_xen_ulong(ptr, val) xchg((ptr), (val))
23 #endif /* _ASM_X86_XEN_EVENTS_H */