diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2026-03-26 14:42:30 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-03-26 17:44:22 +0300 |
| commit | 5dc9cf835aba73c882348aa4f99be83b6e45ad9b (patch) | |
| tree | c2aa0025519655cf94284d31ef553ae36e525a76 /include | |
| parent | bed0053a6303d908266aaaabf4fa96e2d02a4abc (diff) | |
| download | linux-5dc9cf835aba73c882348aa4f99be83b6e45ad9b.tar.xz | |
vdso/timens: Move functions to new file
As a preparation of the untangling of time namespaces and the vDSO, move
the glue functions between those subsystems into a new file.
While at it, switch the mutex lock and mmap_read_lock() in the vDSO
namespace code to guard().
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260326-vdso-timens-decoupling-v2-1-c82693a7775f@linutronix.de
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/time_namespace.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/time_namespace.h b/include/linux/time_namespace.h index c514d0e5a45c..0421bf1b13d7 100644 --- a/include/linux/time_namespace.h +++ b/include/linux/time_namespace.h @@ -38,8 +38,6 @@ static inline struct time_namespace *to_time_ns(struct ns_common *ns) return container_of(ns, struct time_namespace, ns); } void __init time_ns_init(void); -extern int vdso_join_timens(struct task_struct *task, - struct time_namespace *ns); extern void timens_commit(struct task_struct *tsk, struct time_namespace *ns); static inline struct time_namespace *get_time_ns(struct time_namespace *ns) @@ -117,12 +115,6 @@ static inline void __init time_ns_init(void) { } -static inline int vdso_join_timens(struct task_struct *task, - struct time_namespace *ns) -{ - return 0; -} - static inline void timens_commit(struct task_struct *tsk, struct time_namespace *ns) { |
