summaryrefslogtreecommitdiffstats
path: root/arch/alpha/lib/dec_and_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/lib/dec_and_lock.c')
-rw-r--r--arch/alpha/lib/dec_and_lock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/lib/dec_and_lock.c b/arch/alpha/lib/dec_and_lock.c
index f9f5fe830e9f..4221b40167ee 100644
--- a/arch/alpha/lib/dec_and_lock.c
+++ b/arch/alpha/lib/dec_and_lock.c
@@ -7,6 +7,7 @@
#include <linux/spinlock.h>
#include <linux/atomic.h>
+#include <linux/export.h>
asm (".text \n\
.global _atomic_dec_and_lock \n\
@@ -39,3 +40,4 @@ static int __used atomic_dec_and_lock_1(atomic_t *atomic, spinlock_t *lock)
spin_unlock(lock);
return 0;
}
+EXPORT_SYMBOL(_atomic_dec_and_lock);