提交 36324963 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

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: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 975be635
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
#include <asm/ctl_reg.h> #include <asm/ctl_reg.h>
struct mcck_struct { struct mcck_struct {
int kill_task; unsigned int kill_task : 1;
int channel_report; unsigned int channel_report : 1;
int warning; unsigned int warning : 1;
unsigned int etr_queue : 1; unsigned int etr_queue : 1;
unsigned int stp_queue : 1; unsigned int stp_queue : 1;
unsigned long mcck_code; unsigned long mcck_code;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册