提交 178514d7 编写于 作者: M Martin Schwidefsky 提交者: Martin Schwidefsky

[S390] correct alignment of cpuid structure

The store-cpu-id instruction has a minimum alignment of 8. Reflect
that in the definition of struct cpuid.
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 f6649a7e
...@@ -20,7 +20,7 @@ struct cpuid ...@@ -20,7 +20,7 @@ struct cpuid
unsigned int ident : 24; unsigned int ident : 24;
unsigned int machine : 16; unsigned int machine : 16;
unsigned int unused : 16; unsigned int unused : 16;
} __packed; } __attribute__ ((packed, aligned(8)));
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* _ASM_S390_CPU_H */ #endif /* _ASM_S390_CPU_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册