diff options
author | 2025-02-05 11:38:55 +0100 | |
---|---|---|
committer | 2025-02-18 10:32:31 +0100 | |
commit | c56c98e5af6d912c07b4e1e7be8ee97b0ff6ab27 (patch) | |
tree | caa1024f15cafbdd7c78dc469d9e8f61720f5e75 /kernel/sched/core.c | |
parent | powerpc/watchdog: Switch to use hrtimer_setup() (diff) | |
download | wireguard-linux-c56c98e5af6d912c07b4e1e7be8ee97b0ff6ab27.tar.xz wireguard-linux-c56c98e5af6d912c07b4e1e7be8ee97b0ff6ab27.zip |
perf/x86: Switch to use hrtimer_setup()
hrtimer_setup() takes the callback function pointer as argument and
initializes the timer completely.
Replace hrtimer_init() and the open coded initialization of
hrtimer::function with the new setup mechanism.
Patch was created by using Coccinelle.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/e84ad5a660b8e10867e547db8e64f7e99c48ebba.1738746821.git.namcao@linutronix.de
Diffstat (limited to 'kernel/sched/core.c')
0 files changed, 0 insertions, 0 deletions