parisc: fix whitespace errors in arch/parisc/kernel/traps.c
Things like " \t" and whitespace at end of line. I'm leaving all the other coding style errors here alone. Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
committed by
Helge Deller
parent
ba969c44ed
commit
a39e6beaa1
@@ -522,10 +522,10 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
|
|||||||
*/
|
*/
|
||||||
if (((unsigned long)regs->iaoq[0] & 3) &&
|
if (((unsigned long)regs->iaoq[0] & 3) &&
|
||||||
((unsigned long)regs->iasq[0] != (unsigned long)regs->sr[7])) {
|
((unsigned long)regs->iasq[0] != (unsigned long)regs->sr[7])) {
|
||||||
/* Kill the user process later */
|
/* Kill the user process later */
|
||||||
regs->iaoq[0] = 0 | 3;
|
regs->iaoq[0] = 0 | 3;
|
||||||
regs->iaoq[1] = regs->iaoq[0] + 4;
|
regs->iaoq[1] = regs->iaoq[0] + 4;
|
||||||
regs->iasq[0] = regs->iasq[1] = regs->sr[7];
|
regs->iasq[0] = regs->iasq[1] = regs->sr[7];
|
||||||
regs->gr[0] &= ~PSW_B;
|
regs->gr[0] &= ~PSW_B;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -542,7 +542,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
|
|||||||
/* set up a new led state on systems shipped with a LED State panel */
|
/* set up a new led state on systems shipped with a LED State panel */
|
||||||
pdc_chassis_send_status(PDC_CHASSIS_DIRECT_HPMC);
|
pdc_chassis_send_status(PDC_CHASSIS_DIRECT_HPMC);
|
||||||
|
|
||||||
parisc_terminate("High Priority Machine Check (HPMC)",
|
parisc_terminate("High Priority Machine Check (HPMC)",
|
||||||
regs, code, 0);
|
regs, code, 0);
|
||||||
/* NOT REACHED */
|
/* NOT REACHED */
|
||||||
|
|
||||||
@@ -634,7 +634,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
|
|||||||
if(user_mode(regs)){
|
if(user_mode(regs)){
|
||||||
si.si_signo = SIGFPE;
|
si.si_signo = SIGFPE;
|
||||||
/* Set to zero, and let the userspace app figure it out from
|
/* Set to zero, and let the userspace app figure it out from
|
||||||
the insn pointed to by si_addr */
|
the insn pointed to by si_addr */
|
||||||
si.si_code = 0;
|
si.si_code = 0;
|
||||||
si.si_addr = (void __user *) regs->iaoq[0];
|
si.si_addr = (void __user *) regs->iaoq[0];
|
||||||
force_sig_info(SIGFPE, &si, current);
|
force_sig_info(SIGFPE, &si, current);
|
||||||
@@ -660,8 +660,8 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
|
|||||||
case 17:
|
case 17:
|
||||||
/* Non-access data TLB miss fault/Non-access data page fault */
|
/* Non-access data TLB miss fault/Non-access data page fault */
|
||||||
/* FIXME:
|
/* FIXME:
|
||||||
Still need to add slow path emulation code here!
|
Still need to add slow path emulation code here!
|
||||||
If the insn used a non-shadow register, then the tlb
|
If the insn used a non-shadow register, then the tlb
|
||||||
handlers could not have their side-effect (e.g. probe
|
handlers could not have their side-effect (e.g. probe
|
||||||
writing to a target register) emulated since rfir would
|
writing to a target register) emulated since rfir would
|
||||||
erase the changes to said register. Instead we have to
|
erase the changes to said register. Instead we have to
|
||||||
|
Reference in New Issue
Block a user