get_mm_hiwater_xxx: trivial, s/define/inline/
authorOleg Nesterov <oleg@redhat.com>
Tue, 31 Mar 2009 22:19:29 +0000 (15:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:11 +0000 (08:59 -0700)
commit9de1581e75ba9d7979766d4ab6d56f0f2d87f7c6
treeda6854544454f7f6184e6cd54c8b4e88bfc3543a
parenta12888f772dab4bf5e6f73668dc4f5f6026a7014
get_mm_hiwater_xxx: trivial, s/define/inline/

Andrew pointed out get_mm_hiwater_xxx() evaluate "mm" argument thrice/twice,
make them inline.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Hugh Dickins <hugh@veritas.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sched.h