ltq-tapi: Fix compile with kernel 5.15
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 1 Nov 2022 22:18:08 +0000 (23:18 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 5 Nov 2022 21:35:58 +0000 (22:35 +0100)
commit898b4104b3ddc6c5e327ffa00f2783ae407583a0
tree69298c5ffa7fd3ef0fb318f7bece3702d8232b74
parentb3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8
ltq-tapi: Fix compile with kernel 5.15

Do not use find_vpid(), but get_task_pid() to get the pid from
pThrCntrl->tid. This is now a ponter to struct task_struct instead of
an integer.

This fixes the build of ltq-tapi with lantiq/xway.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/lantiq/ltq-tapi/patches/510-linux-515.patch [new file with mode: 0644]