]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit225f2d3ddd835c17543c99ce580271efb41c783a
tree7c391bcdb7a5d917b54ae968304e8a951997e16e
parent94b8112d7392ce36e04b9d15bd85a8c2bab7a62f
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