diff options
author | Dongdong Deng <dongdong.deng@windriver.com> | 2010-09-13 13:58:00 +0200 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-10-22 22:34:13 +0200 |
commit | 39a0715f5ace92268190c89e246fd1cf741dbaea (patch) | |
tree | f72d2aa4fc94a8b323d1ebe816fd9ec15b5c70fb /arch/x86/kernel/kgdb.c | |
parent | debug_core: disable hw_breakpoints on all cores in kgdb_cpu_enter() (diff) | |
download | linux-39a0715f5ace92268190c89e246fd1cf741dbaea.tar.xz linux-39a0715f5ace92268190c89e246fd1cf741dbaea.zip |
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, raw_smp_processor_id()); } - kgdb_correct_hw_break(); - return 0; } |