From: Heiko Carstens Date: Fri, 12 Oct 2007 14:11:51 +0000 (+0200) Subject: [S390] pfault: Fix alignment of parameter list. X-Git-Tag: v2.6.24-rc1~1408 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c41fbc69654dd74339f76ea88054fe41e3c1b7a8;p=linux-2.6 [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 Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 54055194e9..4c1ac341ec 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c @@ -468,7 +468,7 @@ typedef struct { __u64 refselmk; __u64 refcmpmk; __u64 reserved; -} __attribute__ ((packed)) pfault_refbk_t; +} __attribute__ ((packed, aligned(8))) pfault_refbk_t; int pfault_init(void) {