x86: cleanup replace most vm86 flags with flags from processor-flags.h, fix
authorIngo Molnar <mingo@elte.hu>
Sun, 30 Mar 2008 09:45:23 +0000 (11:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:33 +0000 (17:41 +0200)
- fix build error
- fix CONFIG_HEADERS_CHECK error

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_32.c
include/asm-x86/Kbuild

index 57a5704e3f6ce10bb7d2c19f0550c8e4f47b56c1..3284502a1bf84f730805d3700c75d2bcfc201393 100644 (file)
@@ -959,7 +959,7 @@ debug_vm86:
 
 clear_TF_reenable:
        set_tsk_thread_flag(tsk, TIF_SINGLESTEP);
-       regs->flags &= ~TF_MASK;
+       regs->flags &= ~X86_EFLAGS_TF;
        return;
 }
 
index 3b8160a2b47e0eaa145610a3b092b40769a9cd92..1e3554596f72189a6a2ddc03c2d6b0298215356d 100644 (file)
@@ -10,6 +10,7 @@ header-y += prctl.h
 header-y += ptrace-abi.h
 header-y += sigcontext32.h
 header-y += ucontext.h
+header-y += processor-flags.h
 
 unifdef-y += e820.h
 unifdef-y += ist.h