aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/vm86.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/vm86.h')
-rw-r--r--include/asm-x86/vm86.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-x86/vm86.h b/include/asm-x86/vm86.h
index cbf4a0effa75..5ce351325e01 100644
--- a/include/asm-x86/vm86.h
+++ b/include/asm-x86/vm86.h
@@ -115,7 +115,6 @@ struct vm86plus_info_struct {
115 unsigned long is_vm86pus:1; /* for vm86 internal use */ 115 unsigned long is_vm86pus:1; /* for vm86 internal use */
116 unsigned char vm86dbg_intxxtab[32]; /* for debugger */ 116 unsigned char vm86dbg_intxxtab[32]; /* for debugger */
117}; 117};
118
119struct vm86plus_struct { 118struct vm86plus_struct {
120 struct vm86_regs regs; 119 struct vm86_regs regs;
121 unsigned long flags; 120 unsigned long flags;
@@ -128,11 +127,7 @@ struct vm86plus_struct {
128 127
129#ifdef __KERNEL__ 128#ifdef __KERNEL__
130 129
131#ifdef CONFIG_VM86 130#include <asm/ptrace.h>
132#define X86_VM_MASK X86_EFLAGS_VM
133#else
134#define X86_VM_MASK 0 /* No VM86 support */
135#endif
136 131
137/* 132/*
138 * This is the (kernel) stack-layout when we have done a "SAVE_ALL" from vm86 133 * This is the (kernel) stack-layout when we have done a "SAVE_ALL" from vm86
@@ -142,7 +137,6 @@ struct vm86plus_struct {
142 * at the end of the structure. Look at ptrace.h to see the "normal" 137 * at the end of the structure. Look at ptrace.h to see the "normal"
143 * setup. For user space layout see 'struct vm86_regs' above. 138 * setup. For user space layout see 'struct vm86_regs' above.
144 */ 139 */
145#include <asm/ptrace.h>
146 140
147struct kernel_vm86_regs { 141struct kernel_vm86_regs {
148/* 142/*