Skip to content

Commit

Permalink
[S390] s390,oprofile: fix alert counter increment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Glauber authored and Martin Schwidefsky committed May 23, 2011
1 parent 3af6fb6 commit 9529cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/oprofile/hwsampler.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ static int worker_check_error(unsigned int cpu, int ext_params)
if (!sdbt || !*sdbt)
return -EINVAL;

if (ext_params & EI_IEA)
if (ext_params & EI_PRA)
cb->req_alert++;

if (ext_params & EI_LSDA)
Expand Down

0 comments on commit 9529cdc

Please sign in to comment.