x86: debugctlmsr context switch
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:54 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:54 +0000 (13:30 +0100)
commit7e9916040b3020d0f36d68bb7512e3b80b623097
tree7c391bcdb7a5d917b54ae968304e8a951997e16e
parent0a049bb0ab807b4a95dce9cd0b603c01c199a287
x86: debugctlmsr context switch

This adds low-level support for a per-thread value of MSR_IA32_DEBUGCTLMSR.
The per-thread value is switched in when TIF_DEBUGCTLMSR is set.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c
include/asm-x86/processor_32.h
include/asm-x86/processor_64.h
include/asm-x86/thread_info_32.h
include/asm-x86/thread_info_64.h