[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.98.0705150855270.16401@woody.linux-foundation.org>
Date: Tue, 15 May 2007 08:57:58 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: andrew hendry <andrew.hendry@...il.com>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Linux 2.6.22-rc1
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists