Skip to content

Commit

Permalink
ARC: kgdb: generic kgdb_arch_pc() suffices
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vineet Gupta authored and Bjorn Helgaas committed Oct 22, 2014
1 parent 5ab03ac commit 4fbf81c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/arc/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4fbf81c

Please sign in to comment.