summaryrefslogtreecommitdiffstats
path: root/arch/i386/lib/dec_and_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/lib/dec_and_lock.c')
-rw-r--r--arch/i386/lib/dec_and_lock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/lib/dec_and_lock.c b/arch/i386/lib/dec_and_lock.c
index ab43394dc77..8b81b2524fa 100644
--- a/arch/i386/lib/dec_and_lock.c
+++ b/arch/i386/lib/dec_and_lock.c
@@ -8,6 +8,7 @@
*/
#include <linux/spinlock.h>
+#include <linux/module.h>
#include <asm/atomic.h>
int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock)
@@ -38,3 +39,4 @@ slow_path:
spin_unlock(lock);
return 0;
}
+EXPORT_SYMBOL(_atomic_dec_and_lock);