summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-17 09:41:57 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2020-09-17 13:00:46 -0400
commitcc7886d25bcaffe7f4412d774365d85b462366f8 (patch)
tree7d592841685eb47a6522ae13484c76c8ca4c7131 /arch/sparc/include
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
downloadlinux-stable-cc7886d25bcaffe7f4412d774365d85b462366f8.tar.gz
linux-stable-cc7886d25bcaffe7f4412d774365d85b462366f8.tar.bz2
linux-stable-cc7886d25bcaffe7f4412d774365d85b462366f8.zip
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>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/compat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/compat.h b/arch/sparc/include/asm/compat.h
index 40a267b3bd52..b85842cda99f 100644
--- a/arch/sparc/include/asm/compat.h
+++ b/arch/sparc/include/asm/compat.h
@@ -21,8 +21,7 @@ typedef s16 compat_nlink_t;
typedef u16 compat_ipc_pid_t;
typedef u32 compat_caddr_t;
typedef __kernel_fsid_t compat_fsid_t;
-typedef s64 compat_s64;
-typedef u64 compat_u64;
+
struct compat_stat {
compat_dev_t st_dev;
compat_ino_t st_ino;