]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/i386/lib/dec_and_lock.c
Merge 'drm-3264' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/airlied...
[linux-2.6.git] / arch / i386 / lib / dec_and_lock.c
index ab43394dc7756889a34d5aa9c300d8d63767e29a..8b81b2524fa68ee56f0e6679f451adcb65c006d7 100644 (file)
@@ -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);