diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2022-04-05 15:13:00 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-04-26 13:35:54 -0700 |
commit | 84a0c977ab9821a4b57f69d9a6108f64188d1e71 (patch) | |
tree | 50687cffedc3441e88c4fba3e509385a44ce413b /Documentation | |
parent | f18ed30db299458f809aec55bf1800dbeebeb953 (diff) | |
download | linux-84a0c977ab9821a4b57f69d9a6108f64188d1e71.tar.gz linux-84a0c977ab9821a4b57f69d9a6108f64188d1e71.tar.bz2 linux-84a0c977ab9821a4b57f69d9a6108f64188d1e71.zip |
asm-generic: compat: Cleanup duplicate definitions
There are 7 64bit architectures that support Linux COMPAT mode to
run 32bit applications. A lot of definitions are duplicate:
- COMPAT_USER_HZ
- COMPAT_RLIM_INFINITY
- COMPAT_OFF_T_MAX
- __compat_uid_t, __compat_uid_t
- compat_dev_t
- compat_ipc_pid_t
- struct compat_flock
- struct compat_flock64
- struct compat_statfs
- struct compat_ipc64_perm, compat_semid64_ds,
compat_msqid64_ds, compat_shmid64_ds
Cleanup duplicate definitions and merge them into asm-generic.
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Helge Deller <deller@gmx.de> # parisc
Link: https://lore.kernel.org/r/20220405071314.3225832-7-guoren@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions