summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-10-12 16:11:51 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-10-12 16:13:11 +0200
commitc41fbc69654dd74339f76ea88054fe41e3c1b7a8 (patch)
treeef3faa87006de97f558d02c6bbf19d6f7daf4771
parent52480ee5206a3fe3a61b5529ce063202c60b8b27 (diff)
downloadlinux-stable-c41fbc69654dd74339f76ea88054fe41e3c1b7a8.tar.gz
linux-stable-c41fbc69654dd74339f76ea88054fe41e3c1b7a8.tar.bz2
linux-stable-c41fbc69654dd74339f76ea88054fe41e3c1b7a8.zip
[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>
-rw-r--r--arch/s390/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index 54055194e9af..4c1ac341ec80 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)
{