HomeFreeBSD

LinuxKPI: rename from_timer() to timer_container_of()

Description

LinuxKPI: rename from_timer() to timer_container_of()

With Linux 6.16 from_timer() got renamed to timer_container_of(); add
the LINUXKPI_VERSION check with a default to the current version.
Update all in-tree consumers (apart from wireless drivers managed
otherwise).

Sponsored by: The FreeBSD Foundation (initially)
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D52073

(cherry picked from commit 81cb7c4c8e7bc4951c77fe64a63a847ed6abee38)

Details

Provenance
bzAuthored on Sep 4 2025, 8:23 PM
Reviewer
dumbbell
Differential Revision
D52073: LinuxKPI: rename from_timer() to timer_container_of()
Parents
rGaa673b7101d9: LinuxKPI: acpi; fix type to acpi_get_handle()
Branches
Unknown
Tags
Unknown