s390/nmi: reduce size of percpu variable
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 12 Oct 2015 11:04:12 +0000 (13:04 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 27 Oct 2015 08:33:57 +0000 (09:33 +0100)
Change the flag fields within struct mcck_struct to simple bit fields
to reduce the size of the structure which is used as percpu variable.

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

index b3004f4..07302ce 100644 (file)
@@ -24,9 +24,9 @@
 #include <asm/ctl_reg.h>
 
 struct mcck_struct {
-       int kill_task;
-       int channel_report;
-       int warning;
+       unsigned int kill_task : 1;
+       unsigned int channel_report : 1;
+       unsigned int warning : 1;
        unsigned int etr_queue : 1;
        unsigned int stp_queue : 1;
        unsigned long mcck_code;