2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-03 19:24:02 +08:00
linux-next/arch
Arnd Bergmann fb37397594 asm-generic: Move common compat types to asm-generic/compat.h
While converting compat system call handlers to work on 32-bit
architectures, I found a number of types used in those handlers
that are identical between all architectures.

Let's move all the identical ones into asm-generic/compat.h to avoid
having to add even more identical definitions of those types.

For unknown reasons, mips defines __compat_gid32_t, __compat_uid32_t
and compat_caddr_t as signed, while all others have them unsigned.
This seems to be a mistake, but I'm leaving it alone here. The other
types all differ by size or alignment on at least on architecture.

compat_aio_context_t is currently defined in linux/compat.h but
also needed for compat_sys_io_getevents(), so let's move it into
the same place.

While we still have not decided whether the 32-bit time handling
will always use the compat syscalls, or in which form, I think this
is a useful cleanup that we can merge regardless.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-08-29 15:42:20 +02:00
..
alpha y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
arc y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
arm y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
arm64 asm-generic: Move common compat types to asm-generic/compat.h 2018-08-29 15:42:20 +02:00
c6x y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
h8300 y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
hexagon y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
ia64 y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
m68k y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
microblaze y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
mips asm-generic: Move common compat types to asm-generic/compat.h 2018-08-29 15:42:20 +02:00
nds32 y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
nios2 y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
openrisc y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
parisc asm-generic: Move common compat types to asm-generic/compat.h 2018-08-29 15:42:20 +02:00
powerpc asm-generic: Move common compat types to asm-generic/compat.h 2018-08-29 15:42:20 +02:00
riscv Kbuild updates for v4.19 (2nd) 2018-08-25 13:40:38 -07:00
s390 asm-generic: Move common compat types to asm-generic/compat.h 2018-08-29 15:42:20 +02:00
sh y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
sparc asm-generic: Move common compat types to asm-generic/compat.h 2018-08-29 15:42:20 +02:00
um kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00
unicore32 y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
x86 asm-generic: Move common compat types to asm-generic/compat.h 2018-08-29 15:42:20 +02:00
xtensa y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
.gitignore
Kconfig Merge branch 'tlb-fixes' 2018-08-23 14:55:01 -07:00