]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: Switch to use hrtimer_setup_on_stack()
authorNam Cao <namcao@linutronix.de>
Thu, 31 Oct 2024 15:14:31 +0000 (16:14 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 7 Nov 2024 01:47:06 +0000 (02:47 +0100)
commitfc9f59de26afb3b4a33d37f1ba51a441b050afbb
tree70b0802de593b3cb9342b13d5809527e14ceb45a
parent46d076af6d640774a7a8bd6ebf130c22913d3bdb
io_uring: Switch to use hrtimer_setup_on_stack()

hrtimer_setup_on_stack() takes the callback function pointer as argument
and initializes the timer completely.

Replace hrtimer_init_on_stack() and the open coded initialization of
hrtimer::function with the new setup mechanism.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/f0d4ac32ec4050710a656cee8385fa4427be33aa.1730386209.git.namcao@linutronix.de
io_uring/io_uring.c