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>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user