Skip to content
Commit 527c4125 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

compat: add a compat_need_64bit_alignment_fixup() helper



Add a helper to check if the calling syscall needs a fixup for
non-natural 64-bit type alignment in the compat ABI.  This will only
return true for i386 syscalls on x86_64.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent cc7886d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment