VisionFive2 Linux kernel

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

More than 9999 Commits   35 Branches   59 Tags
author: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-14 13:23:22 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-14 13:23:22 -0700 commit: 77e02cf57b6cff9919949defb7fd9b8ac16399a2 parent: 6a4746ba06191e23d30230738e94334b26590a8a
Commit Summary:
memblock: introduce saner 'memblock_free_ptr()' interface
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/init/main.c b/init/main.c
index 5c9a48df90e1..3f7216934441 100644
--- a/init/main.c
+++ b/init/main.c
@@ -924,7 +924,7 @@ static void __init print_unknown_bootoptions(void)
 		end += sprintf(end, " %s", *p);
 
 	pr_notice("Unknown command line parameters:%s\n", unknown_options);
-	memblock_free(__pa(unknown_options), len);
+	memblock_free_ptr(unknown_options, len);
 }
 
 asmlinkage __visible void __init __no_sanitize_address start_kernel(void)