On Tue, 15 May 2007, andrew hendry wrote: > > almost, highstart_pfn is used in a few printks > > arch/i386/mm/discontig.c: In function 'setup_memory': > arch/i386/mm/discontig.c:314: error: 'highstart_pfn' undeclared (first > use in this function) > arch/i386/mm/discontig.c:314: error: (Each undeclared identifier is > reported only once > arch/i386/mm/discontig.c:314: error: for each function it appears in.)
Gaah. highstart_pfn is declared in <asm/highmem.h>, but that one is protected by a #ifdef CONFIG_HIGHMEM #include <asm/highmem.h> in <linux/highmem.h>, so even though we include highmem.h, we never see the declaration. Your config is insane, but anyway, does it compile if you just add back the extra "unnecessary" declaration of highstart_pfn? Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/