You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update hrtimer initialization to use the new hrtimer_setup() interface
introduced in Linux commit 908a1d7 (hrtimers: Introduce hrtimer_setup()
to replace hrtimer_init()),which replaces hrtimer_init() with a
type-safe and simplified API.
The new interface requires a hrtimer_callback function pointer to be
explicitly provided at initialization. This commit identifies and passes
the appropriate callback from the existing code to maintain equivalent
behavior.
The legacy hrtimer_init() remains available but is discouraged in new
code. Compatibility is preserved using version checks against
KERNEL_VERSION(6, 15, 0).
0 commit comments