diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2011-07-24 04:48:30 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-07-24 04:48:22 -0400 |
commit | cadfce72778e9417baff117bb563a1c2f8fef97b (patch) | |
tree | 998556e78b2e6bd8f17aeac7a32ee3fd4f087871 /arch/s390 | |
parent | c76e70d3784e00a89bf8359bcca51ae366b41527 (diff) |
[S390] disable cpu measurement alerts on a dying cpu
The cpu measurement alerts that are used for instance by oprofile
for hardware sampling are not turned off on a cpu that is going
offline. Add the appropriate control register bit that should be
disabled to the list.
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/smp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 1d55c95f617c..a6d85c0a7f20 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
@@ -654,7 +654,8 @@ int __cpu_disable(void) | |||
654 | /* disable all external interrupts */ | 654 | /* disable all external interrupts */ |
655 | cr_parms.orvals[0] = 0; | 655 | cr_parms.orvals[0] = 0; |
656 | cr_parms.andvals[0] = ~(1 << 15 | 1 << 14 | 1 << 13 | 1 << 11 | | 656 | cr_parms.andvals[0] = ~(1 << 15 | 1 << 14 | 1 << 13 | 1 << 11 | |
657 | 1 << 10 | 1 << 9 | 1 << 6 | 1 << 4); | 657 | 1 << 10 | 1 << 9 | 1 << 6 | 1 << 5 | |
658 | 1 << 4); | ||
658 | /* disable all I/O interrupts */ | 659 | /* disable all I/O interrupts */ |
659 | cr_parms.orvals[6] = 0; | 660 | cr_parms.orvals[6] = 0; |
660 | cr_parms.andvals[6] = ~(1 << 31 | 1 << 30 | 1 << 29 | 1 << 28 | | 661 | cr_parms.andvals[6] = ~(1 << 31 | 1 << 30 | 1 << 29 | 1 << 28 | |