Merge branch 'acpi-lpss'
[deliverable/linux.git] / arch / arm / include / asm / xen / events.h
CommitLineData
0ec53ecf
SS
1#ifndef _ASM_ARM_XEN_EVENTS_H
2#define _ASM_ARM_XEN_EVENTS_H
3
4#include <asm/ptrace.h>
85323a99 5#include <asm/atomic.h>
0ec53ecf
SS
6
7enum ipi_vector {
8 XEN_PLACEHOLDER_VECTOR,
9
10 /* Xen IPIs go here */
11 XEN_NR_IPIS,
12};
13
14static inline int xen_irqs_disabled(struct pt_regs *regs)
15{
16 return raw_irqs_disabled_flags(regs->ARM_cpsr);
17}
18
85323a99
IC
19#define xchg_xen_ulong(ptr, val) atomic64_xchg(container_of((ptr), \
20 atomic64_t, \
21 counter), (val))
c81611c4 22
0ec53ecf 23#endif /* _ASM_ARM_XEN_EVENTS_H */
This page took 0.054169 seconds and 5 git commands to generate.