diff options
author | 2025-02-05 11:38:51 +0100 | |
---|---|---|
committer | 2025-02-18 10:32:31 +0100 | |
commit | 92051cb9d3e115533ff7c36ddae4e6888ac12869 (patch) | |
tree | c68129205ca1524815d55934880f8996524a5b41 /kernel/fork.c | |
parent | LoongArch: KVM: Switch to use hrtimer_setup() (diff) | |
download | wireguard-linux-92051cb9d3e115533ff7c36ddae4e6888ac12869.tar.xz wireguard-linux-92051cb9d3e115533ff7c36ddae4e6888ac12869.zip |
riscv: kvm: 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/d5ededf778f59f2fc38ff4276fb7f4c893e4142c.1738746821.git.namcao@linutronix.de
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions