lkml.org 
[lkml]   [2008]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: next-20081106: undefined reference to `__per_cpu_start'
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.



\
 
 \ /
  Last update: 2008-11-07 19:35    [W:0.150 / U:1.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site