Jann Horn d6c494e8ee vdso/timens: Refactor copy-pasted find_timens_vvar_page() helper into one copy
find_timens_vvar_page() is not architecture-specific, as can be seen from
how all five per-architecture versions of it are the same.

(arm64, powerpc and riscv are exactly the same; x86 and s390 have two
characters difference inside a comment, less blank lines, and mark the
!CONFIG_TIME_NS version as inline.)

Refactor the five copies into a central copy in kernel/time/namespace.c.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20221130115320.2918447-1-jannh@google.com
2022-12-01 11:35:40 +01:00
..
2021-12-09 22:41:21 +11:00
2022-05-28 11:27:17 -07:00
2022-05-05 22:12:44 +10:00
2022-05-08 22:15:40 +10:00
2022-05-05 22:12:44 +10:00
2022-09-26 23:00:13 +10:00
2022-05-28 11:27:17 -07:00
2022-02-07 21:03:10 +11:00
2022-01-14 15:17:26 +01:00
2022-02-07 21:03:10 +11:00
2022-02-07 21:03:10 +11:00
2022-10-10 12:49:34 -07:00
2022-09-26 23:00:14 +10:00
2020-12-04 01:01:09 +11:00
2022-05-08 22:15:40 +10:00
2022-09-26 22:47:37 +10:00
2022-09-26 23:00:14 +10:00
2021-12-09 22:41:21 +11:00
2022-09-26 23:00:13 +10:00
2022-05-08 22:15:40 +10:00
2022-09-26 23:00:13 +10:00
2022-05-08 22:15:40 +10:00
2022-05-08 22:15:40 +10:00
2022-05-08 22:15:40 +10:00
2022-09-26 20:58:18 +10:00
2022-05-05 22:12:44 +10:00
2022-05-08 22:15:40 +10:00
2022-05-08 22:15:40 +10:00
2022-09-26 23:00:13 +10:00
2022-09-26 22:47:37 +10:00
2022-09-28 19:22:09 +10:00
2022-09-26 23:00:13 +10:00
2021-12-09 22:41:21 +11:00