dect
/
linux-2.6
Archived
13
0
Fork 0

[S390] irq: fix accounting of external call/emergency signal

Mask the extint_code parameter of the smp external interrupt handler
to get the interruption code. Otherwise emergency call interrupts
erroneously might be accounted as emergency signal interrupts.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Heiko Carstens 2011-12-27 11:25:45 +01:00 committed by Martin Schwidefsky
parent 371de6e4e0
commit 272f01bf9b
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ static void do_ext_call_interrupt(unsigned int ext_int_code,
{
unsigned long bits;
if (ext_int_code == 0x1202)
if ((ext_int_code & 0xffff) == 0x1202)
kstat_cpu(smp_processor_id()).irqs[EXTINT_EXC]++;
else
kstat_cpu(smp_processor_id()).irqs[EXTINT_EMS]++;