summaryrefslogtreecommitdiff
path: root/arch/x86/xen/xen-asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen/xen-asm.h')
-rw-r--r--arch/x86/xen/xen-asm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-asm.h b/arch/x86/xen/xen-asm.h
new file mode 100644
index 000000000000..465276467a47
--- /dev/null
+++ b/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