hrtimer_setup() replaces hrtimer_init() in Linux 6.15. The API and the role are the same, except:
- it takes the function callback as argument
- if function is NULL, it assigns a default callback
Sponsored by: The FreeBSD Foundation
Differential D58757
linuxkpi: Add `hrtimer_setup()` Authored by dumbbell on Aug 10 2026, 5:26 PM. Tags Referenced Files
Details
hrtimer_setup() replaces hrtimer_init() in Linux 6.15. The API and the role are the same, except:
Sponsored by: The FreeBSD Foundation
Diff Detail
Event Timeline
Comment Actions Add __unused after unused arguent in linuxkpi_hrtimer_dummy_timeout() as suggested by @bz. | |||||||||||||||||||||||||||||||||||||||||||||||||||||