parisc: fix warning in traps.c

On Tue, Aug 18, 2009 at 01:45:17PM -0400, John David Anglin wrote:
> CC arch/parisc/kernel/traps.o
> arch/parisc/kernel/traps.c: In function 'handle_interruption':
> arch/parisc/kernel/traps.c:535:18: warning: operation on 'regs->iasq[0]'
> may be undefined

Yes - Line 535 should use both [0] and [1].

Reported-by: John David Anglin <dave@hiauly1.hia.nrc.ca>
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Grant Grundler and committed by Linus Torvalds 825e1e23 2574cc9f

+1 -1
+1 -1
arch/parisc/kernel/traps.c
··· 532 /* Kill the user process later */ 533 regs->iaoq[0] = 0 | 3; 534 regs->iaoq[1] = regs->iaoq[0] + 4; 535 - regs->iasq[0] = regs->iasq[0] = regs->sr[7]; 536 regs->gr[0] &= ~PSW_B; 537 return; 538 }
··· 532 /* Kill the user process later */ 533 regs->iaoq[0] = 0 | 3; 534 regs->iaoq[1] = regs->iaoq[0] + 4; 535 + regs->iasq[0] = regs->iasq[1] = regs->sr[7]; 536 regs->gr[0] &= ~PSW_B; 537 return; 538 }