diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-09-11 11:09:21 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-09-16 18:44:03 +0200 |
| commit | 7117334f022ba0cc7475f688efa68dd56e60f65b (patch) | |
| tree | 374c96cd3fecb605d858955666953a28c10ce1ef /include/linux | |
| parent | acb03d3881818581052924a9bbbe92b8741ed448 (diff) | |
| download | linux-7117334f022ba0cc7475f688efa68dd56e60f65b.tar.gz linux-7117334f022ba0cc7475f688efa68dd56e60f65b.zip | |
posix-timers: Move posixtimer_exec_cleanup() out of exec.c
Move it to the POSIX timer code and provide a proper stub when POSIX timers
are disabled in Kconfig.
No functional change.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Kijo Park <red993688@gmail.com>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Link: https://patch.msgid.link/20260911090541.680668094@kernel.org
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/posix-timers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h index 9a1a0c61361c..7b31da68363c 100644 --- a/include/linux/posix-timers.h +++ b/include/linux/posix-timers.h @@ -232,6 +232,8 @@ void set_process_cpu_timer(struct task_struct *task, unsigned int clock_idx, int update_rlimit_cpu(struct task_struct *task, unsigned long rlim_new); #ifdef CONFIG_POSIX_TIMERS +void posixtimer_exec(void); + static inline void posixtimer_putref(struct k_itimer *tmr) { if (rcuref_put(&tmr->rcuref)) @@ -259,6 +261,7 @@ static inline bool posixtimer_valid(const struct k_itimer *timer) return !(val & 0x1UL); } #else /* CONFIG_POSIX_TIMERS */ +static inline void posixtimer_exec(void) { } static inline void posixtimer_sigqueue_getref(struct sigqueue *q) { } static inline void posixtimer_sigqueue_putref(struct sigqueue *q) { } #endif /* !CONFIG_POSIX_TIMERS */ |
