summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/kgdb.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-12 11:43:40 +0200
committerVineet Gupta <vgupta@synopsys.com>2013-06-26 12:00:50 +0200
commit38a9ff6d247cf9afcbe55ea245b650b8955029fd (patch)
treec2603e639b98463ebc1b2de95dcbfffd338c8138 /arch/arc/include/asm/kgdb.h
parentARC: pt_regs update #5: Use real ECR for pt_regs->event vs. synth values (diff)
downloadlinux-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/include/asm/kgdb.h')
-rw-r--r--arch/arc/include/asm/kgdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/include/asm/kgdb.h b/arch/arc/include/asm/kgdb.h
index 4930957ca3d3..b65fca7ffeb5 100644
--- a/arch/arc/include/asm/kgdb.h
+++ b/arch/arc/include/asm/kgdb.h
@@ -31,7 +31,7 @@ static inline void arch_kgdb_breakpoint(void)
__asm__ __volatile__ ("trap_s 0x4\n");
}
-extern void kgdb_trap(struct pt_regs *regs, int param);
+extern void kgdb_trap(struct pt_regs *regs);
enum arc700_linux_regnums {
_R0 = 0,
@@ -53,7 +53,7 @@ enum arc700_linux_regnums {
};
#else
-#define kgdb_trap(regs, param)
+#define kgdb_trap(regs)
#endif
#endif /* __ARC_KGDB_H__ */