Merge branch 'x86/urgent' into core/efi, to pick up a pending EFI fix
[deliverable/linux.git] / arch / arm64 / include / asm / xen / events.h
CommitLineData
9f54ad66
SS
1#ifndef _ASM_ARM64_XEN_EVENTS_H
2#define _ASM_ARM64_XEN_EVENTS_H
3
4#include <asm/ptrace.h>
5#include <asm/atomic.h>
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((unsigned long) regs->pstate);
17}
18
19#define xchg_xen_ulong(ptr, val) xchg((ptr), (val))
20
4a5b6946
JG
21/* Rebind event channel is supported by default */
22static inline bool xen_support_evtchn_rebind(void)
23{
24 return true;
25}
26
9f54ad66 27#endif /* _ASM_ARM64_XEN_EVENTS_H */
This page took 0.153654 seconds and 5 git commands to generate.