Files
twx-linux/include/linux
Arnd Bergmann a8a223aa3f asm-generic: Move common compat types to asm-generic/compat.h
commit fb37397594 upstream.

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>
Cc: Frank Scheiner <frank.scheiner@web.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-18 11:39:31 +02:00
..
2024-02-23 08:12:39 +01:00
2022-10-26 13:19:32 +02:00
2024-03-26 18:22:34 -04:00
2023-08-08 19:49:17 +02:00
2023-12-20 15:38:01 +01:00
2024-04-13 12:50:14 +02:00
2022-10-26 13:19:35 +02:00
2022-08-25 11:15:23 +02:00
2023-09-23 10:47:59 +02:00
2023-06-21 15:39:57 +02:00
2024-02-23 08:12:49 +01:00
2023-02-22 12:47:17 +01:00
2023-11-28 16:46:33 +00:00
2023-10-25 11:16:20 +02:00
2023-10-25 11:16:20 +02:00
2024-07-05 09:00:35 +02:00
2024-02-23 08:12:39 +01:00