[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>

authored by Heiko Carstens and committed by Martin Schwidefsky 8dd79cb1 85cb185d

+2 -1
+2 -1
arch/s390/kernel/irq.c
··· 25 25 static const char *intrclass_names[] = { "EXT", "I/O", }; 26 26 int i = *(loff_t *) v, j; 27 27 28 + get_online_cpus(); 28 29 if (i == 0) { 29 30 seq_puts(p, " "); 30 31 for_each_online_cpu(j) ··· 44 43 seq_putc(p, '\n'); 45 44 46 45 } 47 - 46 + put_online_cpus(); 48 47 return 0; 49 48 } 50 49