[PATCH] ppc64: export cpu_usage_array

Nathan Lynch ntl at pobox.com
Tue Sep 13 01:07:42 EST 2005


will schmidt wrote:
> 
> The per_cpu structure cpu_usage_array is used by lparcfg.   Lparcfg can 
> be built as a module, thus this symbol needs to be exported.
> 
> Signed-off-by: Will Schmidt <willschm at us.ibm.com>
> 
> 

> diff --git a/arch/ppc64/kernel/process.c b/arch/ppc64/kernel/process.c
> --- a/arch/ppc64/kernel/process.c
> +++ b/arch/ppc64/kernel/process.c
> @@ -163,6 +163,7 @@ int dump_task_altivec(struct pt_regs *re
>  #endif /* CONFIG_ALTIVEC */
>  
>  DEFINE_PER_CPU(struct cpu_usage, cpu_usage_array);
> +EXPORT_PER_CPU_SYMBOL(cpu_usage_array);

EXPORT_PER_CPU_SYMBOL_GPL please?  :)



More information about the Linuxppc64-dev mailing list