diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 00:03:39 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 00:03:39 (GMT) |
commit | 305ec768ff192996b4dcb326c5980cd8a96fa948 (patch) | |
tree | 70e468191e5db1302ca66355969f3d62426f6bce /drivers/staging/lustre/include | |
parent | c88a6cbb7750585f9aadf034ee536cf8228c9964 (diff) | |
download | linux-fsl-qoriq-305ec768ff192996b4dcb326c5980cd8a96fa948.tar.xz |
staging: lustre: remove wrappers for two atomic functions
Just call them directly, like the rest of the kernel does.
Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h index e210a90..722d90c 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h @@ -165,10 +165,4 @@ do { \ #define cfs_waitq_wait_event_interruptible_timeout(wq, c, timeout, ret) \ ret = wait_event_interruptible_timeout(wq, c, timeout) -/* - * atomic - */ -#define cfs_atomic_add_unless(atom, a, u) atomic_add_unless(atom, a, u) -#define cfs_atomic_cmpxchg(atom, old, nv) atomic_cmpxchg(atom, old, nv) - #endif |