search for: __old_kernel_stat2

Displaying 1 result from an estimated 1 matches for "__old_kernel_stat2".

2015 May 18
5
kernel/libc uapi changes for y2038
...96c78aa 100644 --- a/include/uapi/asm-generic/kernel_stat.h +++ b/include/uapi/asm-generic/kernel_stat.h @@ -1,6 +1,14 @@ #ifndef __ASM_GENERIC_KERNEL_STAT_H #define __ASM_GENERIC_KERNEL_STAT_H +#include <asm/bitsperlong.h> + +#if __KERNEL_TIME_BITS == 32 || __BITS_PER_LONG == 64 +#define __old_kernel_stat2 stat +#else +#define __kernel_stat stat +#endif + /* * The new structure that works on both 32-bit and 64-bit and survives y2038 * The layout matches 'struct stat' from asm-generic/stat.h on 64-bit diff --git a/include/uapi/asm-generic/stat.h b/include/uapi/asm-generic/stat.h index 64c...