projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
304cd3e
)
[PATCH] ppc: last_task_.... is defined only on non-SMP
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 19 Jan 2006 03:34:20 +0000
(22:34 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 01:57:08 +0000
(20:57 -0500)
... so it should be exported only on non-SMP.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ppc/kernel/ppc_ksyms.c
patch
|
blob
|
history
diff --git
a/arch/ppc/kernel/ppc_ksyms.c
b/arch/ppc/kernel/ppc_ksyms.c
index
3a6e4bc
..
15bd9b4
100644
(file)
--- a/
arch/ppc/kernel/ppc_ksyms.c
+++ b/
arch/ppc/kernel/ppc_ksyms.c
@@
-186,11
+186,15
@@
EXPORT_SYMBOL(flush_tlb_kernel_range);
EXPORT_SYMBOL(flush_tlb_page);
EXPORT_SYMBOL(_tlbie);
#ifdef CONFIG_ALTIVEC
+#ifndef CONFIG_SMP
EXPORT_SYMBOL(last_task_used_altivec);
+#endif
EXPORT_SYMBOL(giveup_altivec);
#endif /* CONFIG_ALTIVEC */
#ifdef CONFIG_SPE
+#ifndef CONFIG_SMP
EXPORT_SYMBOL(last_task_used_spe);
+#endif
EXPORT_SYMBOL(giveup_spe);
#endif /* CONFIG_SPE */
#ifdef CONFIG_SMP