summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-02-18 19:22:14 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-03-18 11:42:14 +0100
commita2c91547b5b1b9ae515851a85b5574f205b8e1c4 (patch)
tree078d26a97d4da1c6edaed09202d5c6e083a099bb /arch/arm64
parentarm64: Removed unused variable in compat_setup_rt_frame() (diff)
downloadlinux-a2c91547b5b1b9ae515851a85b5574f205b8e1c4.tar.xz
linux-a2c91547b5b1b9ae515851a85b5574f205b8e1c4.zip
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/arm64')
-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);