From: Vineet Gupta Date: Mon, 20 Oct 2014 16:17:04 +0000 (-0600) Subject: ARC: kgdb: generic kgdb_arch_pc() suffices X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4fbf81ca53805ff89336c70bff58365ef1e1ab70;p=openwrt%2Fstaging%2Fblogic.git ARC: kgdb: generic kgdb_arch_pc() suffices The ARC version of kgdb_arch_pc() is identical to the generic version in kernel/debug/debug_core.c. Drop the ARC version so we use the generic one. Signed-off-by: Vineet Gupta Signed-off-by: Bjorn Helgaas --- diff --git a/arch/arc/kernel/kgdb.c b/arch/arc/kernel/kgdb.c index a2ff5c5d1450..ecf6a7869375 100644 --- a/arch/arc/kernel/kgdb.c +++ b/arch/arc/kernel/kgdb.c @@ -158,11 +158,6 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, return -1; } -unsigned long kgdb_arch_pc(int exception, struct pt_regs *regs) -{ - return instruction_pointer(regs); -} - int kgdb_arch_init(void) { single_step_data.armed = 0;