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 57a5704..3284502 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 3b8160a..1e35545 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