projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab03ac
)
ARC: kgdb: generic kgdb_arch_pc() suffices
author
Vineet Gupta
<vgupta@synopsys.com>
Mon, 20 Oct 2014 16:17:04 +0000
(10:17 -0600)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 22 Oct 2014 22:14:04 +0000
(16:14 -0600)
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>
arch/arc/kernel/kgdb.c
patch
|
blob
|
history
diff --git
a/arch/arc/kernel/kgdb.c
b/arch/arc/kernel/kgdb.c
index a2ff5c5d1450a7e58a11e2a771e42e93f01ce8e8..ecf6a78693758ba1eecb88a868b8c9d431f52f16 100644
(file)
--- 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;