sparc64: add missing initialization of folio in tlb_batch_add()
authorMike Rapoport (IBM) <rppt@kernel.org>
Mon, 4 Sep 2023 17:37:59 +0000 (20:37 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 5 Sep 2023 18:11:52 +0000 (11:11 -0700)
commitf4b4f3ec1a310c3de9797271a9c06b7499470d69
tree0816b5ec7be3d5a774b3c3a567fd98d8ecbaf1d1
parentd256d1cd8da1cbc4615de69df71c87ce623fec2f
sparc64: add missing initialization of folio in tlb_batch_add()

Commit 1a10a44dfc1d ("sparc64: implement the new page table range API")
missed initialization of folio variable in tlb_batch_add() which causes
boot tests to crash.

Add missing initialization.

Link: https://lkml.kernel.org/r/20230904174350.GF3223@kernel.org
Fixes: 1a10a44dfc1d ("sparc64: implement the new page table range API")
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/mm/tlb.c