On Thu, Jun 07, 2007 at 12:19:22AM -0700, Andrew Morton wrote: > hm, OK, this seems to work: [...] > -#ifdef CONFIG_HIGHMEM > +#if defined(CONFIG_HIGHMEM) && defined(CONFIG_ARCH_POPULATES_NODE_MAP) > return movable_zone == ZONE_HIGHMEM; > #else > return 0; > _ > (the first ifdef is just there to trip things at compile time rather than > link time)
I guess it's not the arch's fault after all. I probably would've conditionally out-of-lined the thing so as never to expose movable_zone but this will do just fine. -- wli - 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/