VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Mike Rapoport <rppt@linux.vnet.ibm.com> 2018-10-30 15:08:58 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2018-10-31 08:54:15 -0700 commit: 15c3c114ed144e5d9ad0f9e8f9f2998bae372190 parent: e8625dce71b4c23eb81bc9b023c7628807df89e8
Commit Summary:
memblock: replace alloc_bootmem_pages with memblock_alloc
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index 015287ac8ce8..5d31ac9d7a8d 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -67,7 +67,7 @@ void __init paging_init(void)
 	 * Initialize the bad page table and bad page to point
 	 * to a couple of allocated pages.
 	 */
-	empty_zero_page = (unsigned long)alloc_bootmem_pages(PAGE_SIZE);
+	empty_zero_page = (unsigned long)memblock_alloc(PAGE_SIZE, PAGE_SIZE);
 	memset((void *)empty_zero_page, 0, PAGE_SIZE);
 
 	/*