Commit 58a1817
committed
Use timer_delete_sync() on Linux >= 6.1.84
Update timer deletion to use the new timer_delete_sync() interface
introduced in Linux commit 9b13df3f ("timers: Rename del_timer_sync() to
timer_delete_sync()"), which replaces the older del_timer_sync() for
naming consistency.
The legacy del_timer_sync() interface remains as an inline wrapper but
is discouraged for new code. Compatibility is maintained using a version
check against KERNEL_VERSION(6, 1, 84).1 parent d3114d3 commit 58a1817
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
1977 | 1980 | | |
| 1981 | + | |
1978 | 1982 | | |
1979 | 1983 | | |
1980 | 1984 | | |
| |||
1985 | 1989 | | |
1986 | 1990 | | |
1987 | 1991 | | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
1988 | 1995 | | |
| 1996 | + | |
1989 | 1997 | | |
1990 | 1998 | | |
1991 | 1999 | | |
| |||
0 commit comments