Re: [TRIVIAL] fix location of zap_low_mappings

From: William Lee Irwin III (wli@holomorphy.com)
Date: Fri Jun 06 2003 - 06:34:43 EST


On Fri, Jun 06, 2003 at 11:57:49AM +0200, Jasper Spaans wrote:
> When compiling current BK 2.5, I get a warning about zap_low_mappings not
> being declared. Moving it from smp.h to pgtable.h fixes this (and doesn't
> break my setup).
> Does anyone object to this fix?
> [not Cc:-ed to the trivial patch monkey, as I'm not sure whether pgtable.h
> is the right place to put this]

It's basically not supposed to be visible on UP. Perhaps a better
approach would be declare it in pgtable.h as you did, stub out the UP
case with an empty function, and un-#ifdef it from mem_init().

-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:30 EST