From: Ralf Baechle Date: Thu, 25 Oct 2012 19:12:15 +0000 (+0200) Subject: MIPS: Octeon: Remove highmem code. X-Git-Tag: v3.8-rc1~109^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce4625f431d064e65eefacfbe59abe0f642de38e;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git MIPS: Octeon: Remove highmem code. On Cavium hardware only 64-bit kernels are supported so CONFIG_HIGHMEM is never set. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index 60ed700..efc1ed4 100644 --- a/arch/mips/cavium-octeon/setup.c +++ b/arch/mips/cavium-octeon/setup.c @@ -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,