Re: next-20081106: undefined reference to `__per_cpu_start'

From: Christoph Lameter
Date: Fri Nov 07 2008 - 13:33:33 EST


On Fri, 7 Nov 2008, Alexey Dobriyan wrote:

> --- a/include/linux/percpu.h
> +++ b/include/linux/percpu.h
> @@ -51,6 +51,8 @@
> #define DEFINE_PER_CPU_FIRST(type, name) \
> DEFINE_PER_CPU(type, name)
>
> +#define PERCPU_AREA_SIZE 0
> +
> #endif /* !CONFIG_SMP */
>
> #define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(per_cpu__##var)

No we need a percpu allocation area even on UP.

--
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/