]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[S390] show_interrupts: prevent cpu hotplug when walking cpu_online_map.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 15 May 2008 14:52:39 +0000 (16:52 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 15 May 2008 14:52:41 +0000 (16:52 +0200)
commit8dd79cb1051723496bbdcea2247e49567cedb3ac
tree3cd9bd7b2dacb725e5b38b78494d6685dc527681
parent85cb185dad54be308c3f3a6068dd7d418b8b53e4
[S390] show_interrupts: prevent cpu hotplug when walking cpu_online_map.

Surround all the code withing show_interrupts() with
get/put_online_cpus() to prevent strange results wrt cpu hotplug.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/irq.c