提交 ef4531be 编写于 作者: L Linus Torvalds

Merge branch 'parisc-5.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux

Pull parisc fix from Helge Deller:
 "Fix a kernel panic at boot time for some HP-PARISC machines"

* 'parisc-5.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
  parisc: Fix kernel panic in mem_init()
...@@ -562,7 +562,7 @@ void __init mem_init(void) ...@@ -562,7 +562,7 @@ void __init mem_init(void)
> BITS_PER_LONG); > BITS_PER_LONG);
high_memory = __va((max_pfn << PAGE_SHIFT)); high_memory = __va((max_pfn << PAGE_SHIFT));
set_max_mapnr(page_to_pfn(virt_to_page(high_memory - 1)) + 1); set_max_mapnr(max_low_pfn);
memblock_free_all(); memblock_free_all();
#ifdef CONFIG_PA11 #ifdef CONFIG_PA11
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册