diff options
| author | Nam Cao <namcao@linutronix.de> | 2025-02-05 11:38:55 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-18 10:32:31 +0100 |
| commit | c56c98e5af6d912c07b4e1e7be8ee97b0ff6ab27 (patch) | |
| tree | caa1024f15cafbdd7c78dc469d9e8f61720f5e75 /lib/test_objpool.c | |
| parent | powerpc/watchdog: Switch to use hrtimer_setup() (diff) | |
| download | linux-c56c98e5af6d912c07b4e1e7be8ee97b0ff6ab27.tar.gz 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 'lib/test_objpool.c')
0 files changed, 0 insertions, 0 deletions
