Files
erofs-linux/include/linux
Tony Breeds 2c62214831 Fix discrepancy between VDSO based gettimeofday() and sys_gettimeofday().
On platforms that copy sys_tz into the vdso (currently only x86_64, soon to
include powerpc), it is possible for the vdso to get out of sync if a user
calls (admittedly unusual) settimeofday(NULL, ptr).

This patch adds a hook for architectures that set
CONFIG_GENERIC_TIME_VSYSCALL to ensure when sys_tz is updated they can also
updatee their copy in the vdso.

Signed-off-by: Tony Breeds <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Tony Luck <[email protected]>
Acked-by: John Stultz <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-10-18 14:37:20 -07:00
..
…
…
…
…
…
2007-10-17 22:51:13 +02:00
…
2007-10-17 08:43:03 -07:00
…
…
…
…
…
…
…
…
…
…
…
2007-10-18 14:37:20 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:45 -07:00
…
…
…
2007-10-17 08:43:07 -07:00
…
…
2007-10-16 09:43:09 -07:00
…
…
…
…
…
…
…
…
2007-10-17 08:43:07 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-16 09:43:13 -07:00
2007-10-17 08:42:52 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-16 09:43:09 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:51 -07:00
…
…
…
…
…
…
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:48 -07:00
…
…
2007-10-17 08:43:01 -07:00
…
…
…
…
…
…
2007-10-17 08:43:07 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-16 22:29:58 +02:00
…
…
…
…
…
…
2007-10-17 08:42:52 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:59 -07:00
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:55 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
…
…
2007-10-17 08:43:01 -07:00
…
…
…
…
…
…
2007-10-16 09:43:10 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:57 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-16 09:43:03 -07:00
…
…
…
…
2007-10-17 08:42:55 -07:00
…
…
2007-10-17 08:42:50 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:58 -07:00
…
…
2007-10-17 08:42:59 -07:00
…
…
…
…
…
…
…
…
…
2007-10-16 09:43:09 -07:00
…
2007-10-17 08:42:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:43:04 -07:00
…
…
…
…
…
…
2007-10-17 08:42:45 -07:00
…
…
…
2007-10-17 08:42:56 -07:00
…
…
…
…
…
2007-10-17 08:42:46 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-18 14:37:20 -07:00
…
…
…
…
2007-10-17 08:43:07 -07:00
2007-10-16 09:43:17 -07:00
…
…
…
…
…
…
2007-10-17 08:42:47 -07:00
…
2007-10-17 08:43:01 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:53 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-10-17 08:42:56 -07:00
…
…
2007-10-17 08:43:02 -07:00
…
…
…
…
…
…
…
…