parisc: Drop bootmem and switch to memblock
Helge Deller
maintainerPATCH 1/1 parisc: Drop bootmem and switch to memblock
Memblock is the standard kernel boot-time memory tracker/allocator. Use it instead of the bootmem allocator. This allows using kmemleak, CMA and other features.
Signed-off-by Helge Deller <[email protected]>
arch/parisc/Kconfig +2 -0
@@ -10,6 +10,8 @@ config PARISC select RTC_CLASS select RTC_DRV_GENERIC select INIT_ALL_POSSIBLE + select HAVE_MEMBLOCK + select NO_BOOTMEM select BUG select BUILDTIME_EXTABLE_SORT select HAVE_PERF_EVENTS
arch/parisc/kernel/vmlinux.lds.S +0 -2
@@ -138,8 +138,6 @@ SECTIONS /* BSS */ BSS_SECTION(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE) - /* bootmap is allocated in setup_bootmem() directly behind bss. */ - . = ALIGN(HUGEPAGE_SIZE); _end = . ;
arch/parisc/mm/init.c +62 -64
224 lines not on this page · raw message