summaryrefslogtreecommitdiff
path: root/arch/alpha/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-11 09:51:29 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-07 23:47:18 -0400
commit00fc0e0dda6286407f3854cd71a125f519a5689c (patch)
tree04bae7f61ab6ac1a705e89f8b739e2d0679f212f /arch/alpha/lib/dec_and_lock.c
parent784d5699eddc55878627da20d3fe0c8542e2f1a2 (diff)
alpha: move exports to actual definitions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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);