• Arnd Bergmann's avatar
    y2038: vdso: powerpc: avoid timespec references · 176ed98c
    Arnd Bergmann authored
    As a preparation to stop using 'struct timespec' in the kernel,
    change the powerpc vdso implementation:
    
    - split up the vdso data definition to have equivalent members
       for seconds and nanoseconds instead of an xtime structure
    
    - use timespec64 as an intermediate for the xtime update
    
    - change the asm-offsets definition to be based the appropriate
      fixed-length types
    
    This is only a temporary fix for changing the types, in order
    to actually support a 64-bit safe vdso32 version of clock_gettime(),
    the entire powerpc vdso should be replaced with the generic
    lib/vdso/ implementation. If that happens first, this patch
    becomes obsolete.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    176ed98c
asm-offsets.c 29.1 KB