summaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorChen, Kenneth W <kenneth.w.chen@intel.com>2006-03-22 00:09:02 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-22 07:54:04 -0800
commitbba1e9b2111b14625f670bd07e57fd7ed57ce804 (patch)
treefc46b8702597fafde7d1a550dcbc948f173303ad /mm/hugetlb.c
parent42b88befd6e0dae1a5fe04c03925037fa890e1f3 (diff)
downloadlinux-3.10-bba1e9b2111b14625f670bd07e57fd7ed57ce804.tar.gz
linux-3.10-bba1e9b2111b14625f670bd07e57fd7ed57ce804.tar.bz2
linux-3.10-bba1e9b2111b14625f670bd07e57fd7ed57ce804.zip
[PATCH] convert hugetlbfs_counter to atomic
Implementation of hugetlbfs_counter() is functionally equivalent to atomic_inc_return(). Use the simpler atomic form. Signed-off-by: Ken Chen <kenneth.w.chen@intel.com> Cc: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions