projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d96724
)
arm64: Fix build error with !SMP
author
Catalin Marinas
<catalin.marinas@arm.com>
Mon, 18 Feb 2013 18:22:14 +0000
(18:22 +0000)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Mon, 18 Mar 2013 10:42:14 +0000
(10:42 +0000)
The __atomic_hash is only defined when SMP is enabled but the
arm64ksyms.c exports it even for the UP case.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/arm64ksyms.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/arm64ksyms.c
b/arch/arm64/kernel/arm64ksyms.c
index
cef3925
..
aa3e948
100644
(file)
--- a/
arch/arm64/kernel/arm64ksyms.c
+++ b/
arch/arm64/kernel/arm64ksyms.c
@@
-40,7
+40,9
@@
EXPORT_SYMBOL(__copy_to_user);
EXPORT_SYMBOL(__clear_user);
/* bitops */
+#ifdef CONFIG_SMP
EXPORT_SYMBOL(__atomic_hash);
+#endif
/* physical memory */
EXPORT_SYMBOL(memstart_addr);