aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2011-08-19 14:10:53 -0400
committerHelge Deller <deller@gmx.de>2013-05-06 16:24:57 -0400
commita39e6beaa1455407af7b0bb6f501e9135987334b (patch)
tree923d944943d333bbe2a51f076d54345fca53e457
parentba969c44ed9ab2d50428a2deeb3aa5e1145dd537 (diff)
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>
-rw-r--r--arch/parisc/kernel/traps.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
index f702bff0bed9..fe41a98043bb 100644
--- a/arch/parisc/kernel/traps.c
+++ b/arch/parisc/kernel/traps.c
@@ -522,10 +522,10 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
522 */ 522 */
523 if (((unsigned long)regs->iaoq[0] & 3) && 523 if (((unsigned long)regs->iaoq[0] & 3) &&
524 ((unsigned long)regs->iasq[0] != (unsigned long)regs->sr[7])) { 524 ((unsigned long)regs->iasq[0] != (unsigned long)regs->sr[7])) {
525 /* Kill the user process later */ 525 /* Kill the user process later */
526 regs->iaoq[0] = 0 | 3; 526 regs->iaoq[0] = 0 | 3;
527 regs->iaoq[1] = regs->iaoq[0] + 4; 527 regs->iaoq[1] = regs->iaoq[0] + 4;
528 regs->iasq[0] = regs->iasq[1] = regs->sr[7]; 528 regs->iasq[0] = regs->iasq[1] = regs->sr[7];
529 regs->gr[0] &= ~PSW_B; 529 regs->gr[0] &= ~PSW_B;
530 return; 530 return;
531 } 531 }
@@ -541,8 +541,8 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
541 541
542 /* set up a new led state on systems shipped with a LED State panel */ 542 /* set up a new led state on systems shipped with a LED State panel */
543 pdc_chassis_send_status(PDC_CHASSIS_DIRECT_HPMC); 543 pdc_chassis_send_status(PDC_CHASSIS_DIRECT_HPMC);
544 544
545 parisc_terminate("High Priority Machine Check (HPMC)", 545 parisc_terminate("High Priority Machine Check (HPMC)",
546 regs, code, 0); 546 regs, code, 0);
547 /* NOT REACHED */ 547 /* NOT REACHED */
548 548
@@ -584,13 +584,13 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
584 /* Break instruction trap */ 584 /* Break instruction trap */
585 handle_break(regs); 585 handle_break(regs);
586 return; 586 return;
587 587
588 case 10: 588 case 10:
589 /* Privileged operation trap */ 589 /* Privileged operation trap */
590 die_if_kernel("Privileged operation", regs, code); 590 die_if_kernel("Privileged operation", regs, code);
591 si.si_code = ILL_PRVOPC; 591 si.si_code = ILL_PRVOPC;
592 goto give_sigill; 592 goto give_sigill;
593 593
594 case 11: 594 case 11:
595 /* Privileged register trap */ 595 /* Privileged register trap */
596 if ((regs->iir & 0xffdfffe0) == 0x034008a0) { 596 if ((regs->iir & 0xffdfffe0) == 0x034008a0) {
@@ -634,7 +634,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
634 if(user_mode(regs)){ 634 if(user_mode(regs)){
635 si.si_signo = SIGFPE; 635 si.si_signo = SIGFPE;
636 /* Set to zero, and let the userspace app figure it out from 636 /* Set to zero, and let the userspace app figure it out from
637 the insn pointed to by si_addr */ 637 the insn pointed to by si_addr */
638 si.si_code = 0; 638 si.si_code = 0;
639 si.si_addr = (void __user *) regs->iaoq[0]; 639 si.si_addr = (void __user *) regs->iaoq[0];
640 force_sig_info(SIGFPE, &si, current); 640 force_sig_info(SIGFPE, &si, current);
@@ -648,7 +648,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
648 die_if_kernel("Floating point exception", regs, 0); /* quiet */ 648 die_if_kernel("Floating point exception", regs, 0); /* quiet */
649 handle_fpe(regs); 649 handle_fpe(regs);
650 return; 650 return;
651 651
652 case 15: 652 case 15:
653 /* Data TLB miss fault/Data page fault */ 653 /* Data TLB miss fault/Data page fault */
654 /* Fall through */ 654 /* Fall through */
@@ -660,15 +660,15 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
660 case 17: 660 case 17:
661 /* Non-access data TLB miss fault/Non-access data page fault */ 661 /* Non-access data TLB miss fault/Non-access data page fault */
662 /* FIXME: 662 /* FIXME:
663 Still need to add slow path emulation code here! 663 Still need to add slow path emulation code here!
664 If the insn used a non-shadow register, then the tlb 664 If the insn used a non-shadow register, then the tlb
665 handlers could not have their side-effect (e.g. probe 665 handlers could not have their side-effect (e.g. probe
666 writing to a target register) emulated since rfir would 666 writing to a target register) emulated since rfir would
667 erase the changes to said register. Instead we have to 667 erase the changes to said register. Instead we have to
668 setup everything, call this function we are in, and emulate 668 setup everything, call this function we are in, and emulate
669 by hand. Technically we need to emulate: 669 by hand. Technically we need to emulate:
670 fdc,fdce,pdc,"fic,4f",prober,probeir,probew, probeiw 670 fdc,fdce,pdc,"fic,4f",prober,probeir,probew, probeiw
671 */ 671 */
672 fault_address = regs->ior; 672 fault_address = regs->ior;
673 fault_space = regs->isr; 673 fault_space = regs->isr;
674 break; 674 break;