Commit 9529cdc5 authored by Jan Glauber's avatar Jan Glauber Committed by Martin Schwidefsky

[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: default avatarJan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 3af6fb68
...@@ -764,7 +764,7 @@ static int worker_check_error(unsigned int cpu, int ext_params) ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment