Skip to content

Commit

Permalink
arm64: Fix build error with !SMP
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Catalin Marinas committed Mar 18, 2013
1 parent 0d96724 commit a2c9154
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/kernel/arm64ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit a2c9154

Please sign in to comment.