lantiq: Fix build after kernel 5.15.150
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 8 Mar 2024 13:43:08 +0000 (14:43 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 8 Mar 2024 13:50:43 +0000 (14:50 +0100)
commit2f2eceab1307d9f9c33f151d442ab97c95bd0400
tree541d094fbc5ddbc7004d66650883da8df3773270
parent7f1d043b23f6ebf22b345366b430095f2e3ac5db
lantiq: Fix build after kernel 5.15.150

This fixes the following compile problem:
````
  CC      arch/mips/kernel/vpe-mt.o
arch/mips/kernel/vpe-mt.c: In function 'vpe_run':
arch/mips/kernel/vpe-mt.c:32:23: error: unused variable 'physical_memsize' [-Werror=unused-variable]
   32 |         unsigned long physical_memsize = 0L;
      |                       ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:289: arch/mips/kernel/vpe-mt.o] Error 1
````

physical_memsize was removed from upstream kernel, see:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.15.y&id=5b4f6c5ff65c8551018ccea40c569afd759734c0

Fixes: 387fde0da0e8 ("kernel: bump 5.15 to 5.15.150")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 9cfa5f74175d5c663bcf5973024fb76223972033)
target/linux/lantiq/patches-5.15/0152-lantiq-VPE.patch
target/linux/lantiq/patches-5.15/0155-lantiq-VPE-nosmp.patch