summaryrefslogtreecommitdiffstats
path: root/arch/alpha/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-11 15:51:29 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-08 05:47:18 +0200
commit00fc0e0dda6286407f3854cd71a125f519a5689c (patch)
tree04bae7f61ab6ac1a705e89f8b739e2d0679f212f /arch/alpha/lib/dec_and_lock.c
parentx86: move exports to actual definitions (diff)
downloadlinux-00fc0e0dda6286407f3854cd71a125f519a5689c.tar.xz
linux-00fc0e0dda6286407f3854cd71a125f519a5689c.zip
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);