projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52480ee
)
[S390] pfault: Fix alignment of parameter list.
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Fri, 12 Oct 2007 14:11:51 +0000
(16:11 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Fri, 12 Oct 2007 14:13:11 +0000
(16:13 +0200)
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>
arch/s390/mm/fault.c
patch
|
blob
|
history
diff --git
a/arch/s390/mm/fault.c
b/arch/s390/mm/fault.c
index
5405519
..
4c1ac34
100644
(file)
--- 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)
{