diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-01-18 22:34:20 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-07 20:57:08 -0500 |
commit | 3ba9d91208a71947b69d52e3ca2142306457d816 (patch) | |
tree | 9a26103b26b6dfb9c402993c61988e1794e1504d /arch/ppc | |
parent | 304cd3efe6f2aefdb568d201aba55d1400915ca2 (diff) |
[PATCH] ppc: last_task_.... is defined only on non-SMP
... so it should be exported only on non-SMP.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/ppc_ksyms.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c index 3a6e4bcb3c53..15bd9b448a48 100644 --- a/arch/ppc/kernel/ppc_ksyms.c +++ b/arch/ppc/kernel/ppc_ksyms.c | |||
@@ -186,11 +186,15 @@ EXPORT_SYMBOL(flush_tlb_kernel_range); | |||
186 | EXPORT_SYMBOL(flush_tlb_page); | 186 | EXPORT_SYMBOL(flush_tlb_page); |
187 | EXPORT_SYMBOL(_tlbie); | 187 | EXPORT_SYMBOL(_tlbie); |
188 | #ifdef CONFIG_ALTIVEC | 188 | #ifdef CONFIG_ALTIVEC |
189 | #ifndef CONFIG_SMP | ||
189 | EXPORT_SYMBOL(last_task_used_altivec); | 190 | EXPORT_SYMBOL(last_task_used_altivec); |
191 | #endif | ||
190 | EXPORT_SYMBOL(giveup_altivec); | 192 | EXPORT_SYMBOL(giveup_altivec); |
191 | #endif /* CONFIG_ALTIVEC */ | 193 | #endif /* CONFIG_ALTIVEC */ |
192 | #ifdef CONFIG_SPE | 194 | #ifdef CONFIG_SPE |
195 | #ifndef CONFIG_SMP | ||
193 | EXPORT_SYMBOL(last_task_used_spe); | 196 | EXPORT_SYMBOL(last_task_used_spe); |
197 | #endif | ||
194 | EXPORT_SYMBOL(giveup_spe); | 198 | EXPORT_SYMBOL(giveup_spe); |
195 | #endif /* CONFIG_SPE */ | 199 | #endif /* CONFIG_SPE */ |
196 | #ifdef CONFIG_SMP | 200 | #ifdef CONFIG_SMP |