浏览代码

[S390] pfault: Fix alignment of parameter list.

Make sure parameter list of the pfault token function is eight byte
aligned. Otherwise we can get specification exceptions.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Heiko Carstens 17 年之前
父节点
当前提交
c41fbc6965
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/s390/mm/fault.c

+ 1 - 1
arch/s390/mm/fault.c

@@ -468,7 +468,7 @@ typedef struct {
 	__u64 refselmk;
 	__u64 refselmk;
 	__u64 refcmpmk;
 	__u64 refcmpmk;
 	__u64 reserved;
 	__u64 reserved;
-} __attribute__ ((packed)) pfault_refbk_t;
+} __attribute__ ((packed, aligned(8))) pfault_refbk_t;
 
 
 int pfault_init(void)
 int pfault_init(void)
 {
 {