diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-10-20 18:17:04 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-10-23 00:14:04 +0200 |
commit | 4fbf81ca53805ff89336c70bff58365ef1e1ab70 (patch) | |
tree | 472042e5654b599345fe08cbeb4a94120e404478 /arch | |
parent | vmcore: Remove "weak" from function declarations (diff) | |
download | linux-4fbf81ca53805ff89336c70bff58365ef1e1ab70.tar.xz linux-4fbf81ca53805ff89336c70bff58365ef1e1ab70.zip |
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')
-rw-r--r-- | arch/arc/kernel/kgdb.c | 5 |
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; |