Subject : mips yosemite_defconfig compile error Submitter : Adrian Bunk <bunk@kernel.org> References : http://lkml.org/lkml/2008/2/17/383 Caused-By : Christoph Lameter <clameter@sgi.com> commit 9e2779fa281cfda13ac060753d674bbcaa23367e
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 #ifdef CONFIG_HIGHMEM # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE) #else # define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE) #endif 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