aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-02-18 18:22:14 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2013-03-18 10:42:14 +0000
commita2c91547b5b1b9ae515851a85b5574f205b8e1c4 (patch)
tree078d26a97d4da1c6edaed09202d5c6e083a099bb
parent0d96724e298c08ba24589b4802b0a26b6a237721 (diff)
downloadkernel_goldelico_gta04-a2c91547b5b1b9ae515851a85b5574f205b8e1c4.zip
kernel_goldelico_gta04-a2c91547b5b1b9ae515851a85b5574f205b8e1c4.tar.gz
kernel_goldelico_gta04-a2c91547b5b1b9ae515851a85b5574f205b8e1c4.tar.bz2
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>
-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 cef3925..aa3e948 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);