[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 static const char *intrclass_names[] = { "EXT", "I/O", }; 26 int i = *(loff_t *) v, j; 27 28 if (i == 0) { 29 seq_puts(p, " "); 30 for_each_online_cpu(j) ··· 44 seq_putc(p, '\n'); 45 46 } 47 - 48 return 0; 49 } 50
··· 25 static const char *intrclass_names[] = { "EXT", "I/O", }; 26 int i = *(loff_t *) v, j; 27 28 + get_online_cpus(); 29 if (i == 0) { 30 seq_puts(p, " "); 31 for_each_online_cpu(j) ··· 43 seq_putc(p, '\n'); 44 45 } 46 + put_online_cpus(); 47 return 0; 48 } 49