aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ptrace.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:30:57 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:57 -0500
commit35d0991ffa544945d2e1992169c097286b7c0bfb (patch)
tree048b57877bb825b89c14cfeb74b861596799229f /include/asm-x86/ptrace.h
parenta46ff73d53f011de1dfc1983b05db2c04d193713 (diff)
x86: eflags enum
This removes the EF_* enum from <asm/ptrace.h>. It is no longer used, and duplicates the X86_EFLAGS_* constants from <asm/processor-flags.h>. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/ptrace.h')
-rw-r--r--include/asm-x86/ptrace.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/asm-x86/ptrace.h b/include/asm-x86/ptrace.h
index 9187b2fab754..1b7a8b8d6f60 100644
--- a/include/asm-x86/ptrace.h
+++ b/include/asm-x86/ptrace.h
@@ -170,28 +170,6 @@ extern int ptrace_set_debugreg(struct task_struct *child, int n, unsigned long);
170extern unsigned long 170extern unsigned long
171convert_rip_to_linear(struct task_struct *child, struct pt_regs *regs); 171convert_rip_to_linear(struct task_struct *child, struct pt_regs *regs);
172 172
173enum {
174 EF_CF = 0x00000001,
175 EF_PF = 0x00000004,
176 EF_AF = 0x00000010,
177 EF_ZF = 0x00000040,
178 EF_SF = 0x00000080,
179 EF_TF = 0x00000100,
180 EF_IE = 0x00000200,
181 EF_DF = 0x00000400,
182 EF_OF = 0x00000800,
183 EF_IOPL = 0x00003000,
184 EF_IOPL_RING0 = 0x00000000,
185 EF_IOPL_RING1 = 0x00001000,
186 EF_IOPL_RING2 = 0x00002000,
187 EF_NT = 0x00004000, /* nested task */
188 EF_RF = 0x00010000, /* resume */
189 EF_VM = 0x00020000, /* virtual mode */
190 EF_AC = 0x00040000, /* alignment */
191 EF_VIF = 0x00080000, /* virtual interrupt */
192 EF_VIP = 0x00100000, /* virtual interrupt pending */
193 EF_ID = 0x00200000, /* id */
194};
195#endif /* __KERNEL__ */ 173#endif /* __KERNEL__ */
196#endif /* !__i386__ */ 174#endif /* !__i386__ */
197 175