mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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:
parent
502a0c775c
commit
38a9ff6d24
13 changed files with 59 additions and 78 deletions
|
@ -209,10 +209,9 @@ void show_regs(struct pt_regs *regs)
|
|||
}
|
||||
|
||||
void show_kernel_fault_diag(const char *str, struct pt_regs *regs,
|
||||
unsigned long address, unsigned long cause_reg)
|
||||
unsigned long address)
|
||||
{
|
||||
current->thread.fault_address = address;
|
||||
current->thread.cause_code = cause_reg;
|
||||
|
||||
/* Caller and Callee regs */
|
||||
show_regs(regs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue