aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongdong Deng <[email protected]>2010-09-13 06:58:00 -0500
committerJason Wessel <[email protected]>2010-10-22 15:34:13 -0500
commit39a0715f5ace92268190c89e246fd1cf741dbaea (patch)
treef72d2aa4fc94a8b323d1ebe816fd9ec15b5c70fb
parentc1bb9a9c1911036549c5cdfb23f32d7d20ffdc5a (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 <[email protected]> Signed-off-by: Jason Wessel <[email protected]> CC: [email protected] CC: Thomas Gleixner <[email protected]> CC: Ingo Molnar <[email protected]> CC: H. Peter Anvin <[email protected]>
-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;
}