Skip to content

Commit a4f475c

Browse files
RevySRMingcongBai
authored andcommitted
RISCV64: REVYOS: Revert "riscv: Enable pcpu page first chunk allocator"
This reverts commit 6b9f29b.
1 parent a0458d5 commit a4f475c

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

arch/riscv/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,7 @@ config NUMA
491491
depends on SMP && MMU
492492
select ARCH_SUPPORTS_NUMA_BALANCING
493493
select GENERIC_ARCH_NUMA
494-
select HAVE_SETUP_PER_CPU_AREA
495494
select NEED_PER_CPU_EMBED_FIRST_CHUNK
496-
select NEED_PER_CPU_PAGE_FIRST_CHUNK
497495
select OF_NUMA
498496
select USE_PERCPU_NUMA_NODE_ID
499497
help

arch/riscv/mm/kasan_init.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -441,14 +441,6 @@ static void __init kasan_shallow_populate(void *start, void *end)
441441
kasan_shallow_populate_pgd(vaddr, vend);
442442
}
443443

444-
#ifdef CONFIG_KASAN_VMALLOC
445-
void __init kasan_populate_early_vm_area_shadow(void *start, unsigned long size)
446-
{
447-
kasan_populate(kasan_mem_to_shadow(start),
448-
kasan_mem_to_shadow(start + size));
449-
}
450-
#endif
451-
452444
static void __init create_tmp_mapping(void)
453445
{
454446
void *ptr;

0 commit comments

Comments
 (0)