summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/xen/xen-asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/xen/xen-asm.h')
-rw-r--r--kernel/arch/x86/xen/xen-asm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/arch/x86/xen/xen-asm.h b/kernel/arch/x86/xen/xen-asm.h
new file mode 100644
index 000000000..465276467
--- /dev/null
+++ b/kernel/arch/x86/xen/xen-asm.h
@@ -0,0 +1,12 @@
+#ifndef _XEN_XEN_ASM_H
+#define _XEN_XEN_ASM_H
+
+#include <linux/linkage.h>
+
+#define RELOC(x, v) .globl x##_reloc; x##_reloc=v
+#define ENDPATCH(x) .globl x##_end; x##_end=.
+
+/* Pseudo-flag used for virtual NMI, which we don't implement yet */
+#define XEN_EFLAGS_NMI 0x80000000
+
+#endif