commit | bba1e9b2111b14625f670bd07e57fd7ed57ce804 | [log] [tgz] |
---|---|---|
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | Wed Mar 22 00:09:02 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Mar 22 07:54:04 2006 -0800 |
tree | fc46b8702597fafde7d1a550dcbc948f173303ad | |
parent | 42b88befd6e0dae1a5fe04c03925037fa890e1f3 [diff] |
[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>