[PATCH] ppc64: export cpu_usage_array

will schmidt will_schmidt at vnet.ibm.com
Tue Sep 13 23:13:35 EST 2005


Nathan Lynch wrote:
> 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?  :)

this will be deja vu for Nathan, as I skipped to: linuxppc64-dev last 
time I resent.

<hamm'd up Minnesota accent> Yeah, sure, you betcha. </accent>  :-)

Signed-off-by: Will Schmidt <willschm at us.ibm.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sep12.process.gpl.diff
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050913/9ab48c1e/attachment.txt 


More information about the Linuxppc64-dev mailing list