summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-10-20 10:17:04 -0600
committerBjorn Helgaas <bhelgaas@google.com>2014-10-22 16:14:04 -0600
commit4fbf81ca53805ff89336c70bff58365ef1e1ab70 (patch)
tree472042e5654b599345fe08cbeb4a94120e404478 /arch/arc
parent5ab03ac5aaa1f032e071f1b3dc433b7839359c03 (diff)
downloadlinux-4fbf81ca53805ff89336c70bff58365ef1e1ab70.tar.bz2
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 <vgupta@synopsys.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/kernel/kgdb.c5
1 files changed, 0 insertions, 5 deletions
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;