debug_core,x86,blackfin: Clean up hw debug disable API
authorDongdong Deng <dongdong.deng@windriver.com>
Wed, 18 Aug 2010 11:02:00 +0000 (06:02 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 29 Oct 2010 18:14:41 +0000 (13:14 -0500)
commitd7ba979d45272385ce0fdf141d922e61ff48e07b
tree713ffb5f2e079c6abdeb15cd4830a014df12db9b
parent578bd4dfcda63d2ef15f025f1d5d55c0e56b9660
debug_core,x86,blackfin: Clean up hw debug disable API

The kgdb_disable_hw_debug() was an architecture specific function for
disabling all hardware breakpoints on a per cpu basis when entering
the debug core.

This patch will remove the weak function kdbg_disable_hw_debug() and
change it into a call back which lives with the rest of hw breakpoint
call backs in struct kgdb_arch.

Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
arch/blackfin/kernel/kgdb.c
arch/x86/kernel/kgdb.c
include/linux/kgdb.h
kernel/debug/debug_core.c