MIPS: Octeon: Remove highmem code.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 25 Oct 2012 19:12:15 +0000 (21:12 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Dec 2012 15:52:06 +0000 (16:52 +0100)
On Cavium hardware only 64-bit kernels are supported so CONFIG_HIGHMEM
is never set.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c

index 60ed700..efc1ed4 100644 (file)
@@ -671,10 +671,6 @@ void __init plat_mem_setup(void)
                                                __pa_symbol(&__init_end), -1,
                                                0x100000,
                                                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
                memory = cvmx_bootmem_phy_alloc(mem_alloc_size, 0, 512 << 20,
                                                0x100000,