From: Heiko Carstens Date: Fri, 12 Oct 2007 14:11:51 +0000 (+0200) Subject: [S390] pfault: Fix alignment of parameter list. X-Git-Tag: upstream/snapshot3+hdmi~30712 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c41fbc69654dd74339f76ea88054fe41e3c1b7a8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 5405519..4c1ac34 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) {