lantiq: ltq-tapi: add kernel 5.10 compatiblity
authorMathias Kresin <dev@kresin.me>
Sun, 27 Dec 2020 16:25:25 +0000 (17:25 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 29 Mar 2023 14:31:21 +0000 (16:31 +0200)
commit8e12360fcf157d421366e929737471830f77a4f0
tree5e90c93c17892ba436d60a1279aac88302c88e58
parent3d93d2cea5ce1f6120da4233cfdb168d408ad923
lantiq: ltq-tapi: add kernel 5.10 compatiblity

Due to SCHED_FIFO being a broken scheduler model, all users of
sched_setscheduler() are converted to sched_set_fifo_low() upstream and
sched_setscheduler() is no longer exported.

The callback handling of the tasklet API was redesigned and the macros
using the old syntax renamed to _OLD.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(cherry picked from commit 31f3f797004ad318a1de88ec9cfdece523ee46d9)
[Add DECLARE_TASKLET handling for kernel 5.4.235 too]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/lantiq/ltq-tapi/patches/500-linux-509.patch [new file with mode: 0644]