aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/processor_32.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:30:54 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:54 -0500
commit7e9916040b3020d0f36d68bb7512e3b80b623097 (patch)
tree7c391bcdb7a5d917b54ae968304e8a951997e16e /include/asm-x86/processor_32.h
parent0a049bb0ab807b4a95dce9cd0b603c01c199a287 (diff)
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>
Diffstat (limited to 'include/asm-x86/processor_32.h')
-rw-r--r--include/asm-x86/processor_32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/processor_32.h b/include/asm-x86/processor_32.h
index 2540bf8d572..3c67eacb316 100644
--- a/include/asm-x86/processor_32.h
+++ b/include/asm-x86/processor_32.h
@@ -368,6 +368,8 @@ struct thread_struct {
368 unsigned long iopl; 368 unsigned long iopl;
369/* max allowed port in the bitmap, in bytes: */ 369/* max allowed port in the bitmap, in bytes: */
370 unsigned long io_bitmap_max; 370 unsigned long io_bitmap_max;
371/* MSR_IA32_DEBUGCTLMSR value to switch in if TIF_DEBUGCTLMSR is set. */
372 unsigned long debugctlmsr;
371}; 373};
372 374
373#define INIT_THREAD { \ 375#define INIT_THREAD { \