get_mm_hiwater_xxx: trivial, s/define/inline/
authorOleg Nesterov <[email protected]>
Tue, 31 Mar 2009 22:19:29 +0000 (15:19 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Hugh Dickins <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/sched.h