]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: s390: Switch to use hrtimer_setup()
authorNam Cao <namcao@linutronix.de>
Wed, 5 Feb 2025 10:38:47 +0000 (11:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 18 Feb 2025 09:32:30 +0000 (10:32 +0100)
commit7ff22753d894250aed6048f6d4a5680142b4083f
treec48705f21d41750617e96909e09a666da2919aac
parenta0241210a3f3950bf4a28b5077108c8a126d47ec
KVM: s390: 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>
Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Link: https://lore.kernel.org/all/637865c62963fb8cddf6c4368ca12434988a8c27.1738746821.git.namcao@linutronix.de
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c