aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2011-05-23 04:24:45 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2011-05-23 04:24:32 -0400
commit9529cdc51f36ca0c87ce0246627c5951c40cbc01 (patch)
tree1a68c71c925980f090b424487c31334910f8b2d2 /arch
parent3af6fb687b06393c00390d8d779c5d97ced00cde (diff)
[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>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/oprofile/hwsampler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/oprofile/hwsampler.c b/arch/s390/oprofile/hwsampler.c
index 33cbd373cce4..90c5a8770a99 100644
--- a/arch/s390/oprofile/hwsampler.c
+++ b/arch/s390/oprofile/hwsampler.c
@@ -764,7 +764,7 @@ static int worker_check_error(unsigned int cpu, int ext_params)
764 if (!sdbt || !*sdbt) 764 if (!sdbt || !*sdbt)
765 return -EINVAL; 765 return -EINVAL;
766 766
767 if (ext_params & EI_IEA) 767 if (ext_params & EI_PRA)
768 cb->req_alert++; 768 cb->req_alert++;
769 769
770 if (ext_params & EI_LSDA) 770 if (ext_params & EI_LSDA)