]>
Commit | Line | Data |
---|---|---|
0ec53ecf SS |
1 | #ifndef _ASM_ARM_XEN_EVENTS_H |
2 | #define _ASM_ARM_XEN_EVENTS_H | |
3 | ||
4 | #include <asm/ptrace.h> | |
5 | ||
6 | enum ipi_vector { | |
7 | XEN_PLACEHOLDER_VECTOR, | |
8 | ||
9 | /* Xen IPIs go here */ | |
10 | XEN_NR_IPIS, | |
11 | }; | |
12 | ||
13 | static inline int xen_irqs_disabled(struct pt_regs *regs) | |
14 | { | |
15 | return raw_irqs_disabled_flags(regs->ARM_cpsr); | |
16 | } | |
17 | ||
18 | #endif /* _ASM_ARM_XEN_EVENTS_H */ |