|
@@ -23,6 +23,8 @@
|
|
|
#include <linux/cpumask.h>
|
|
#include <linux/cpumask.h>
|
|
|
#include <linux/reboot.h>
|
|
#include <linux/reboot.h>
|
|
|
#include <linux/irqdomain.h>
|
|
#include <linux/irqdomain.h>
|
|
|
|
|
+#include <linux/export.h>
|
|
|
|
|
+
|
|
|
#include <asm/processor.h>
|
|
#include <asm/processor.h>
|
|
|
#include <asm/setup.h>
|
|
#include <asm/setup.h>
|
|
|
#include <asm/mach_desc.h>
|
|
#include <asm/mach_desc.h>
|
|
@@ -30,6 +32,9 @@
|
|
|
#ifndef CONFIG_ARC_HAS_LLSC
|
|
#ifndef CONFIG_ARC_HAS_LLSC
|
|
|
arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
|
|
arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
|
|
|
arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
|
|
arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
|
|
|
|
|
+
|
|
|
|
|
+EXPORT_SYMBOL_GPL(smp_atomic_ops_lock);
|
|
|
|
|
+EXPORT_SYMBOL_GPL(smp_bitops_lock);
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
struct plat_smp_ops __weak plat_smp_ops;
|
|
struct plat_smp_ops __weak plat_smp_ops;
|