projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/s390/mm/fault.c
b/arch/s390/mm/fault.c
index 54055194e9af320e3b9e675bdebaab77014419c2..4c1ac341ec80633c95194f3c83ab7f358b36189a 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)
{