Skip to content

Commit

Permalink
[S390] pfault: Fix alignment of parameter list.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Oct 12, 2007
1 parent 52480ee commit c41fbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c41fbc6

Please sign in to comment.