1
0
Fork 0
alistair23-linux/arch
Arnd Bergmann b497ef570e y2038: xtensa: Extend sysvipc data structures
xtensa, uses a nonstandard variation of the generic sysvipc
data structures, intended to have the padding moved around
so it can deal with big-endian 32-bit user space that has
64-bit time_t.

xtensa tries hard to define the structures so they work
in both big-endian and little-endian systems with padding
on the right side.
However, they only succeeded for for two of the three structures,
and their struct shmid64_ds ended up being defined in two
identical copies, and the big-endian one is wrong.

This takes just take the same approach here that we have for
the asm-generic headers and adds separate 32-bit fields for the
upper halves of the timestamps, to let libc deal with the mess
in user space.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-04-20 16:20:15 +02:00
..
alpha y2038: alpha: Remove unneeded ipc uapi header files 2018-04-20 16:19:54 +02:00
arc time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
arm time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
arm64 y2038: arm64: Extend sysvipc compat data structures 2018-04-20 16:20:01 +02:00
c6x time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
h8300 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
hexagon time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
ia64 y2038: ia64: Remove unneeded ipc uapi header files 2018-04-20 16:19:56 +02:00
m68k time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
microblaze time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
mips y2038: mips: Extend sysvipc data structures 2018-04-20 16:20:04 +02:00
nds32 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
nios2 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
openrisc time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
parisc y2038: parisc: Extend sysvipc data structures 2018-04-20 16:20:07 +02:00
powerpc y2038: powerpc: Extend sysvipc data structures 2018-04-20 16:20:13 +02:00
riscv RISC-V changes for 4.17 2018-04-04 16:43:47 -07:00
s390 y2038: s390: Remove unneeded ipc uapi header files 2018-04-20 16:19:58 +02:00
sh time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
sparc y2038: sparc: Extend sysvipc data structures 2018-04-20 16:20:10 +02:00
um time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
unicore32 time: Add an asm-generic/compat.h file 2018-04-19 13:28:51 +02:00
x86 y2038: x86: Extend sysvipc data structures 2018-04-20 16:19:52 +02:00
xtensa y2038: xtensa: Extend sysvipc data structures 2018-04-20 16:20:15 +02:00
.gitignore
Kconfig time: Introduce CONFIG_COMPAT_32BIT_TIME 2018-04-19 13:30:40 +02:00