compat: lift compat_s64 and compat_u64 to <asm-generic/compat.h>

lift the compat_s64 and compat_u64 definitions into common code using the
COMPAT_FOR_U64_ALIGNMENT symbol for the x86 special case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Christoph Hellwig
2020-09-17 09:41:57 +02:00
committed by Al Viro
parent 9123e3a74e
commit cc7886d25b
8 changed files with 9 additions and 14 deletions

View File

@@ -26,8 +26,6 @@ typedef s32 compat_caddr_t;
typedef struct {
s32 val[2];
} compat_fsid_t;
typedef s64 compat_s64;
typedef u64 compat_u64;
struct compat_stat {
compat_dev_t st_dev;