uwb: Use kcalloc instead of kzalloc to allocate array
[zen-stable.git] / arch / x86 / include / asm / xen / events.h
blob1df35417c412d2fb7dde775b7cc54dde7468dfa4
1 #ifndef _ASM_X86_XEN_EVENTS_H
2 #define _ASM_X86_XEN_EVENTS_H
4 enum ipi_vector {
5 XEN_RESCHEDULE_VECTOR,
6 XEN_CALL_FUNCTION_VECTOR,
7 XEN_CALL_FUNCTION_SINGLE_VECTOR,
8 XEN_SPIN_UNLOCK_VECTOR,
10 XEN_NR_IPIS,
13 static inline int xen_irqs_disabled(struct pt_regs *regs)
15 return raw_irqs_disabled_flags(regs->flags);
18 #endif /* _ASM_X86_XEN_EVENTS_H */