summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/kgdb.c
diff options
context:
space:
mode:
authorDongdong Deng <dongdong.deng@windriver.com>2010-09-13 15:58:00 +0400
committerJason Wessel <jason.wessel@windriver.com>2010-10-23 00:34:13 +0400
commit39a0715f5ace92268190c89e246fd1cf741dbaea (patch)
treef72d2aa4fc94a8b323d1ebe816fd9ec15b5c70fb /arch/x86/kernel/kgdb.c
parentc1bb9a9c1911036549c5cdfb23f32d7d20ffdc5a (diff)
downloadlinux-39a0715f5ace92268190c89e246fd1cf741dbaea.tar.xz
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.c2
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;
}