summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/vm86.h
diff options
context:
space:
mode:
authorgorcunov@gmail.com2008-03-28 15:56:56 +0100
committerIngo Molnar2008-04-17 17:41:33 +0200
commita5c15d419d4b68535222b51f9054dd08d5e67470 (patch)
treeab6bebec8b83ec7c688a6f2c23979d10a4da3aa1 /include/asm-x86/vm86.h
parentx86: cleanup - rename VM_MASK to X86_VM_MASK (diff)
downloadkernel-qcow2-linux-a5c15d419d4b68535222b51f9054dd08d5e67470.tar.gz
kernel-qcow2-linux-a5c15d419d4b68535222b51f9054dd08d5e67470.tar.xz
kernel-qcow2-linux-a5c15d419d4b68535222b51f9054dd08d5e67470.zip
x86: replace most VM86 flags with flags from processor-flags.h
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/vm86.h')
-rw-r--r--include/asm-x86/vm86.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/asm-x86/vm86.h b/include/asm-x86/vm86.h
index f5f3dc479c34..074b357146df 100644
--- a/include/asm-x86/vm86.h
+++ b/include/asm-x86/vm86.h
@@ -12,19 +12,13 @@
* Linus
*/
-#define TF_MASK 0x00000100
-#define IF_MASK 0x00000200
-#define IOPL_MASK 0x00003000
-#define NT_MASK 0x00004000
+#include <asm/processor-flags.h>
+
#ifdef CONFIG_VM86
#define X86_VM_MASK X86_EFLAGS_VM
#else
#define X86_VM_MASK 0 /* No VM86 support */
#endif
-#define AC_MASK 0x00040000
-#define VIF_MASK 0x00080000 /* virtual interrupt flag */
-#define VIP_MASK 0x00100000 /* virtual interrupt pending */
-#define ID_MASK 0x00200000
#define BIOSSEG 0x0f000