Kernel Bug Tracker – Bug 10033
mips yosemite_defconfig compile error
Last modified: 2008-03-14 00:59:50 UTC
Subject : mips yosemite_defconfig compile error
Submitter : Adrian Bunk <firstname.lastname@example.org>
References : http://lkml.org/lkml/2008/2/17/383
Caused-By : Christoph Lameter <email@example.com>
Adiran, could you try the patch attached?
Created attachment 15187 [details]
Patch to test
Oops, s/Adiran/Adrian/, sorry :(
I can confirm your patch fixes the compilation.
Whether it's correct Ralf has to say.
Btw, I think that 'include' from the patch I posted has to be there regardless of this bug. Look, we have in pgtable_32.h
# define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
# define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE)
but PKMAP_BASE is defined in highmem.h so Christoph's patch just reveal this
problem. gcc was successfuly compiling MIPS before this patch 'cause of its intelligence - deffered macros exposure I think.
fixed by commit 2ac7401d11370b7a8e3a1c74aac03a021fd61048