Bibo Mao 7269ed4af3 mm: define general function pXd_init()
pud_init(), pmd_init() and kernel_pte_init() are duplicated defined in
file kasan.c and sparse-vmemmap.c as weak functions.  Move them to generic
header file pgtable.h, architecture can redefine them.

Link: https://lkml.kernel.org/r/20241104070712.52902-1-maobibo@loongson.cn
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: WANG Xuerui <kernel@xen0n.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-11-11 17:22:27 -08:00
..
2024-11-07 14:38:07 -08:00
2024-09-09 16:38:59 -07:00
2024-11-11 00:26:44 -08:00
2023-12-12 10:11:32 +01:00
2024-09-03 21:15:31 -07:00
2024-09-25 11:35:19 -07:00
2024-11-11 00:26:44 -08:00
2024-11-07 14:38:07 -08:00
2022-10-03 14:02:43 -07:00
2024-11-11 00:26:44 -08:00
2024-09-03 21:15:31 -07:00
2024-11-05 16:56:26 -08:00
2024-08-15 22:16:14 -07:00
2024-07-10 12:14:54 -07:00
2024-11-07 14:38:07 -08:00
2024-11-11 00:26:45 -08:00
2023-04-12 17:36:23 -07:00
2024-11-07 14:38:07 -08:00
2024-11-11 13:09:42 -08:00
2024-04-25 20:55:48 -07:00
2024-04-25 20:55:48 -07:00