From: Dongdong Deng Date: Mon, 13 Sep 2010 11:58:00 +0000 (-0500) Subject: x86,kgdb: remove unnecessary call to kgdb_correct_hw_break() X-Git-Tag: v2.6.37-rc1~153^2~2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=39a0715f5ace92268190c89e246fd1cf741dbaea;p=~shefty%2Frdma-dev.git 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 Signed-off-by: Jason Wessel CC: x86@kernel.org CC: Thomas Gleixner CC: Ingo Molnar CC: H. Peter Anvin --- diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c index 101bf22cf16..d81cfebb848 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; }