mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 20:09:35 +03:00
996faa6869
atomic operations will be rewritten anyway with the correct arch specific assembly. But not today. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@65 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
9 lines
218 B
C
9 lines
218 B
C
#include <sys/atomic.h>
|
|
|
|
/* Global atomic lock declarations */
|
|
spinlock_t atomic64_lock = SPIN_LOCK_UNLOCKED;
|
|
spinlock_t atomic32_lock = SPIN_LOCK_UNLOCKED;
|
|
|
|
EXPORT_SYMBOL(atomic64_lock);
|
|
EXPORT_SYMBOL(atomic32_lock);
|