summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/x86/include/asm/xen/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/arch/x86/include/asm/xen/events.h')
-rw-r--r--ANDROID_3.4.5/arch/x86/include/asm/xen/events.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/arch/x86/include/asm/xen/events.h b/ANDROID_3.4.5/arch/x86/include/asm/xen/events.h
new file mode 100644
index 00000000..1df35417
--- /dev/null
+++ b/ANDROID_3.4.5/arch/x86/include/asm/xen/events.h
@@ -0,0 +1,18 @@
+#ifndef _ASM_X86_XEN_EVENTS_H
+#define _ASM_X86_XEN_EVENTS_H
+
+enum ipi_vector {
+ XEN_RESCHEDULE_VECTOR,
+ XEN_CALL_FUNCTION_VECTOR,
+ XEN_CALL_FUNCTION_SINGLE_VECTOR,
+ XEN_SPIN_UNLOCK_VECTOR,
+
+ XEN_NR_IPIS,
+};
+
+static inline int xen_irqs_disabled(struct pt_regs *regs)
+{
+ return raw_irqs_disabled_flags(regs->flags);
+}
+
+#endif /* _ASM_X86_XEN_EVENTS_H */