diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-06-12 11:43:40 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-06-26 12:00:50 +0200 |
commit | 38a9ff6d247cf9afcbe55ea245b650b8955029fd (patch) | |
tree | c2603e639b98463ebc1b2de95dcbfffd338c8138 /arch/arc/kernel/kgdb.c | |
parent | ARC: pt_regs update #5: Use real ECR for pt_regs->event vs. synth values (diff) | |
download | linux-38a9ff6d247cf9afcbe55ea245b650b8955029fd.tar.xz linux-38a9ff6d247cf9afcbe55ea245b650b8955029fd.zip |
ARC: Remove explicit passing around of ECR
With ECR now part of pt_regs
* No need to propagate from lowest asm handlers as arg
* No need to save it in tsk->thread.cause_code
* Avoid bit chopping to access the bit-fields
More code consolidation, cleanup
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/kgdb.c')
-rw-r--r-- | arch/arc/kernel/kgdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/kgdb.c b/arch/arc/kernel/kgdb.c index 84f1bb8208b4..a7698fb14818 100644 --- a/arch/arc/kernel/kgdb.c +++ b/arch/arc/kernel/kgdb.c @@ -169,7 +169,7 @@ int kgdb_arch_init(void) return 0; } -void kgdb_trap(struct pt_regs *regs, int param) +void kgdb_trap(struct pt_regs *regs) { /* trap_s 3 is used for breakpoints that overwrite existing * instructions, while trap_s 4 is used for compiled breakpoints. |