x86,kgdb: remove unnecessary call to kgdb_correct_hw_break()
authorDongdong Deng <dongdong.deng@windriver.com>
Mon, 13 Sep 2010 11:58:00 +0000 (06:58 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 22 Oct 2010 20:34:13 +0000 (15:34 -0500)
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>
arch/x86/kernel/kgdb.c

index 101bf22cf16449b3069ea0f8cbb899ec7966100c..d81cfebb848f2fd5c61e7a4524a26c00d3d2f66d 100644 (file)
@@ -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;
        }