• Arnd Bergmann's avatar
    y2038: sparc: Extend sysvipc data structures · 91b9b0d7
    Arnd Bergmann authored
    sparc, 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.
    
    Unlike most architectures, sparc actually succeeded in
    defining this right for big-endian CPUs, but as everyone else
    got it wrong, we just use the same hack everywhere.
    
    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: default avatarArnd Bergmann <arnd@arndb.de>
    91b9b0d7
compat.h 5.18 KB