Browse Source

s390/nmi: reduce size of percpu variable

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>
Heiko Carstens 10 years ago
parent
commit
36324963a3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      arch/s390/kernel/nmi.c

+ 3 - 3
arch/s390/kernel/nmi.c

@@ -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;