Re: compile time warnings

From: Tom Spink
Date: Thu Jan 01 2009 - 20:39:53 EST


2009/1/1 Jesper Juhl <jj@xxxxxxxxxxxxx>:
> On Thu, 1 Jan 2009, Ingo Brueckl wrote:
[snip]

Hi,

> pgd_base is very much used...

It's probably something to do with:

# define permanent_kmaps_init(pgd_base) do { } while (0)

Which is within the #else part of #if CONFIG_HIGHMEM. So, if
CONFIG_HIGHMEM is not set, permanent_kmaps_init gets wiped out, and
therefore that warning will be issued.

Perhaps changing that to an empty inline would remove the warning?

--
Tom Spink
G. Gordon Liddy - "Obviously crime pays, or there'd be no crime."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/