diff options
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | 2006-03-22 09:09:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 16:54:04 +0100 |
commit | bba1e9b2111b14625f670bd07e57fd7ed57ce804 (patch) | |
tree | fc46b8702597fafde7d1a550dcbc948f173303ad /mm/hugetlb.c | |
parent | [PATCH] hugepage: is_aligned_hugepage_range() cleanup (diff) | |
download | linux-bba1e9b2111b14625f670bd07e57fd7ed57ce804.tar.xz linux-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