]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0771162e3578d0db656b679e092336037b8d2406
treeda6854544454f7f6184e6cd54c8b4e88bfc3543a
parentb38407f2079cdd52b8135a0d15d5cd4ac37c9cf8
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