From: Catalin Marinas Date: Mon, 18 Feb 2013 18:22:14 +0000 (+0000) Subject: arm64: Fix build error with !SMP X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2c91547b5b1b9ae515851a85b5574f205b8e1c4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- 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);