提交 ce4625f4 编写于 作者: R Ralf Baechle

MIPS: Octeon: Remove highmem code.

On Cavium hardware only 64-bit kernels are supported so CONFIG_HIGHMEM
is never set.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 77a12d0a
...@@ -671,10 +671,6 @@ void __init plat_mem_setup(void) ...@@ -671,10 +671,6 @@ void __init plat_mem_setup(void)
__pa_symbol(&__init_end), -1, __pa_symbol(&__init_end), -1,
0x100000, 0x100000,
CVMX_BOOTMEM_FLAG_NO_LOCKING); CVMX_BOOTMEM_FLAG_NO_LOCKING);
#elif defined(CONFIG_HIGHMEM)
memory = cvmx_bootmem_phy_alloc(mem_alloc_size, 0, 1ull << 31,
0x100000,
CVMX_BOOTMEM_FLAG_NO_LOCKING);
#else #else
memory = cvmx_bootmem_phy_alloc(mem_alloc_size, 0, 512 << 20, memory = cvmx_bootmem_phy_alloc(mem_alloc_size, 0, 512 << 20,
0x100000, 0x100000,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册