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>
This commit is contained in:
parent
0d96724e29
commit
a2c91547b5
1 changed files with 2 additions and 0 deletions
|
@ -40,7 +40,9 @@ EXPORT_SYMBOL(__copy_to_user);
|
||||||
EXPORT_SYMBOL(__clear_user);
|
EXPORT_SYMBOL(__clear_user);
|
||||||
|
|
||||||
/* bitops */
|
/* bitops */
|
||||||
|
#ifdef CONFIG_SMP
|
||||||
EXPORT_SYMBOL(__atomic_hash);
|
EXPORT_SYMBOL(__atomic_hash);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* physical memory */
|
/* physical memory */
|
||||||
EXPORT_SYMBOL(memstart_addr);
|
EXPORT_SYMBOL(memstart_addr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue