diff options
author | Seiji Aguchi <seiji.aguchi@hds.com> | 2013-06-20 11:45:44 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-06-20 22:25:13 -0700 |
commit | 629f4f9d59a27d8e58aa612e886e6a9a63ea7aeb (patch) | |
tree | 049f9d16e2c304a51fa62d47cde34af8b10fc65d /arch/x86/kernel/traps.c | |
parent | eddc0e922a3530e0f22cef170229bcae3a7d5e31 (diff) | |
download | blackbird-op-linux-629f4f9d59a27d8e58aa612e886e6a9a63ea7aeb.tar.gz blackbird-op-linux-629f4f9d59a27d8e58aa612e886e6a9a63ea7aeb.zip |
x86: Rename variables for debugging
Rename variables for debugging to describe meaning of them precisely.
Also, introduce a generic way to switch IDT by checking a current state,
debug on/off.
Signed-off-by: Seiji Aguchi <seiji.aguchi@hds.com>
Link: http://lkml.kernel.org/r/51C323A8.7050905@hds.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r-- | arch/x86/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 772e2a846dec..d27182d6ed2a 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@ -785,7 +785,7 @@ void __init trap_init(void) x86_init.irqs.trap_init(); #ifdef CONFIG_X86_64 - memcpy(&nmi_idt_table, &idt_table, IDT_ENTRIES * 16); + memcpy(&debug_idt_table, &idt_table, IDT_ENTRIES * 16); set_nmi_gate(X86_TRAP_DB, &debug); set_nmi_gate(X86_TRAP_BP, &int3); #endif |