y2038: uapi: change __kernel_time_t to __kernel_old_time_t
[linux-2.6-microblaze.git] / include / linux / time32.h
index 0a1f302..cad4c31 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/time64.h>
 #include <linux/timex.h>
 
-#define TIME_T_MAX     (time_t)((1UL << ((sizeof(time_t) << 3) - 1)) - 1)
+#define TIME_T_MAX     (__kernel_old_time_t)((1UL << ((sizeof(__kernel_old_time_t) << 3) - 1)) - 1)
 
 typedef s32            old_time32_t;