aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2025-05-07 19:53:33 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-05-08 19:49:33 +0200
commit9a716ac6eaaa73599921fa081c99b67bef589171 (patch)
treed38594acc1eccab2a011b40331766a5a034a7d88 /include/linux/workqueue.h
parenttimers: Rename __init_timer() as __timer_init() (diff)
downloadwireguard-linux-9a716ac6eaaa73599921fa081c99b67bef589171.tar.xz
wireguard-linux-9a716ac6eaaa73599921fa081c99b67bef589171.zip
timers: Rename __init_timer_on_stack() as __timer_init_on_stack()
Move this API to the canonical __timer_*() namespace. Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250507175338.672442-6-mingo@kernel.org
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 985f69f8fb99..c84da78878d9 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -324,7 +324,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; }
#define __INIT_DELAYED_WORK_ONSTACK(_work, _func, _tflags) \
do { \
INIT_WORK_ONSTACK(&(_work)->work, (_func)); \
- __init_timer_on_stack(&(_work)->timer, \
+ __timer_init_on_stack(&(_work)->timer, \
delayed_work_timer_fn, \
(_tflags) | TIMER_IRQSAFE); \
} while (0)