diff options
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r-- | arch/arc/kernel/smp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c index f46267153ec2..6df9d94a9537 100644 --- a/arch/arc/kernel/smp.c +++ b/arch/arc/kernel/smp.c | |||
@@ -23,6 +23,8 @@ | |||
23 | #include <linux/cpumask.h> | 23 | #include <linux/cpumask.h> |
24 | #include <linux/reboot.h> | 24 | #include <linux/reboot.h> |
25 | #include <linux/irqdomain.h> | 25 | #include <linux/irqdomain.h> |
26 | #include <linux/export.h> | ||
27 | |||
26 | #include <asm/processor.h> | 28 | #include <asm/processor.h> |
27 | #include <asm/setup.h> | 29 | #include <asm/setup.h> |
28 | #include <asm/mach_desc.h> | 30 | #include <asm/mach_desc.h> |
@@ -30,6 +32,9 @@ | |||
30 | #ifndef CONFIG_ARC_HAS_LLSC | 32 | #ifndef CONFIG_ARC_HAS_LLSC |
31 | arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED; | 33 | arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED; |
32 | arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED; | 34 | arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED; |
35 | |||
36 | EXPORT_SYMBOL_GPL(smp_atomic_ops_lock); | ||
37 | EXPORT_SYMBOL_GPL(smp_bitops_lock); | ||
33 | #endif | 38 | #endif |
34 | 39 | ||
35 | struct plat_smp_ops __weak plat_smp_ops; | 40 | struct plat_smp_ops __weak plat_smp_ops; |