]> git.proxmox.com Git - mirror_spl.git/blame - modules/spl/spl-atomic.c
Correctly functioning 64-bit atomic shim layer. It's not
[mirror_spl.git] / modules / spl / spl-atomic.c
CommitLineData
9f4c835a 1#include <sys/atomic.h>
2
3/* Global atomic lock declarations */
4spinlock_t atomic64_lock = SPIN_LOCK_UNLOCKED;
5spinlock_t atomic32_lock = SPIN_LOCK_UNLOCKED;
6spinlock_t atomic_lock = SPIN_LOCK_UNLOCKED;
7
8EXPORT_SYMBOL(atomic64_lock);
9EXPORT_SYMBOL(atomic32_lock);
10EXPORT_SYMBOL(atomic_lock);