diff options
author | 2025-02-05 11:38:58 +0100 | |
---|---|---|
committer | 2025-02-18 10:32:32 +0100 | |
commit | 53867760f50c2b5b6b16f1350135553dda88c461 (patch) | |
tree | 19003044041f25a4418063ff99e729b2b11360d4 /kernel/fork.c | |
parent | sched: Switch to use hrtimer_setup() (diff) | |
download | wireguard-linux-53867760f50c2b5b6b16f1350135553dda88c461.tar.xz wireguard-linux-53867760f50c2b5b6b16f1350135553dda88c461.zip |
mm/slab: 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>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Link: https://lore.kernel.org/all/030065d66630068f788caf9df15756fad404e754.1738746821.git.namcao@linutronix.de
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions