Browse Source

[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>
Jan Glauber 14 years ago
parent
commit
9529cdc51f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/s390/oprofile/hwsampler.c

+ 1 - 1
arch/s390/oprofile/hwsampler.c

@@ -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)