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.ibm.com> 2019-03-11 23:29:56 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2019-03-12 10:04:01 -0700 commit: 0240dfd5b4de79980a484cef8ddf0d52d52bce40 parent: 9415673e3e19f76b1b83be2bc8844bdeff87a05d
Commit Summary:
arch: don't memset(0) memory returned by memblock_alloc()
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index 6519252ac4db..a1578904ad4e 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -68,7 +68,6 @@ void __init paging_init(void)
 	 * to a couple of allocated pages.
 	 */
 	empty_zero_page = (unsigned long)memblock_alloc(PAGE_SIZE, PAGE_SIZE);
-	memset((void *)empty_zero_page, 0, PAGE_SIZE);
 
 	/*
 	 * Set up SFC/DFC registers (user data space).