SLUB: use atomic_long_read for atomic_long variables
authorChristoph Lameter <clameter@sgi.com>
Wed, 22 Aug 2007 21:01:56 +0000 (14:01 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 23 Aug 2007 02:52:47 +0000 (19:52 -0700)
commit9e86943b6c74f214ce0516d56e55636d52252e19
treef5ba2d57e7a5d5a031f1e6a418e7d5e2c5a838b8
parentfe58103a56f05613cb1f0ef228354d4d5f6c2b08
SLUB: use atomic_long_read for atomic_long variables

SLUB is using atomic_read() for variables declared atomic_long_t.
Switch to atomic_long_read().

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c