]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: mark mm-inline functions as __always_inline
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Thu, 3 May 2012 05:43:57 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:34 +0000 (15:46 +1000)
commit4ef41e56308d348a19706c83cb0cd3361848ac78
tree0472832d7b8c5d87c6041d6babf9c1ad81646933
parent7abe01aa6e918e9c4d17bff3cf44878d6bfd633e
mm: mark mm-inline functions as __always_inline

GCC sometimes ignores "inline" directives even for small and simple functions.
This supposed to be fixed in gcc 4.7, but it was released only yesterday.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Glauber Costa <glommer@parallels.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm_inline.h