summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-02-18 22:22:14 +0400
committerCatalin Marinas <catalin.marinas@arm.com>2013-03-18 14:42:14 +0400
commita2c91547b5b1b9ae515851a85b5574f205b8e1c4 (patch)
tree078d26a97d4da1c6edaed09202d5c6e083a099bb /arch
parent0d96724e298c08ba24589b4802b0a26b6a237721 (diff)
downloadlinux-a2c91547b5b1b9ae515851a85b5574f205b8e1c4.tar.xz
arm64: Fix build error with !SMP
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/kernel/arm64ksyms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kernel/arm64ksyms.c b/arch/arm64/kernel/arm64ksyms.c
index cef3925eaf60..aa3e948f7885 100644
--- 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);