diff options
author | Dongdong Deng <dongdong.deng@windriver.com> | 2010-09-13 07:58:00 -0400 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-10-22 16:34:13 -0400 |
commit | 39a0715f5ace92268190c89e246fd1cf741dbaea (patch) | |
tree | f72d2aa4fc94a8b323d1ebe816fd9ec15b5c70fb /arch/x86/kernel/kgdb.c | |
parent | c1bb9a9c1911036549c5cdfb23f32d7d20ffdc5a (diff) |
x86,kgdb: remove unnecessary call to kgdb_correct_hw_break()
The kernel debug_core invokes hw breakpoint install and removal via
call backs. The architecture specific kgdb stubs only need to
implement the call backs and not actually call the functions.
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
CC: x86@kernel.org
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Ingo Molnar <mingo@redhat.com>
CC: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/kgdb.c')
-rw-r--r-- | arch/x86/kernel/kgdb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c index 101bf22cf164..d81cfebb848f 100644 --- a/arch/x86/kernel/kgdb.c +++ b/arch/x86/kernel/kgdb.c | |||
@@ -477,8 +477,6 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, | |||
477 | raw_smp_processor_id()); | 477 | raw_smp_processor_id()); |
478 | } | 478 | } |
479 | 479 | ||
480 | kgdb_correct_hw_break(); | ||
481 | |||
482 | return 0; | 480 | return 0; |
483 | } | 481 | } |
484 | 482 | ||