[S390] s390,oprofile: fix alert counter increment

The counter for requested interrupts should be incremented if the
program-request-alert bit is set and not the invalid-address-entry
bit.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Jan Glauber 2011-05-23 10:24:45 +02:00 committed by Martin Schwidefsky
parent 3af6fb687b
commit 9529cdc51f

View file

@ -764,7 +764,7 @@ static int worker_check_error(unsigned int cpu, int ext_params)
if (!sdbt || !*sdbt) if (!sdbt || !*sdbt)
return -EINVAL; return -EINVAL;
if (ext_params & EI_IEA) if (ext_params & EI_PRA)
cb->req_alert++; cb->req_alert++;
if (ext_params & EI_LSDA) if (ext_params & EI_LSDA)