[S390] oprofile: Allow multiple users of the measurement alert interrupt
authorJan Glauber <jang@linux.vnet.ibm.com>
Fri, 23 Mar 2012 10:13:05 +0000 (11:13 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 23 Mar 2012 10:13:24 +0000 (11:13 +0100)
commitb03d541aa45b52e1b723890121a9fe3920eb438b
tree923c4bc9c618614634b536199ec1e4d1c74cdc83
parent61d84979ab9826c292812059f99248603da28fba
[S390] oprofile: Allow multiple users of the measurement alert interrupt

Prepare the measurement facility which is currently only used by oprofile
for multiple users.  To achieve that the measurement alert interrupt control
bit needs to be protected.  The measurement alert definitions are moved
to a header file and an interrupt mask is added so that users can discard
interrupts if they are for a different measurement subsystem.

Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mf.h [new file with mode: 0644]
arch/s390/include/asm/irq.h
arch/s390/kernel/irq.c
arch/s390/oprofile/hwsampler.c