Messages in this thread | | | Date | Fri, 2 Jan 2009 01:35:49 +0000 | From | "Tom Spink" <> | Subject | Re: compile time warnings |
| |
2009/1/1 Jesper Juhl <jj@chaosbits.net>: > 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."
| |