]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: mark mm-inline functions as __always_inline
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Wed, 25 Apr 2012 01:03:44 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:25 +0000 (15:17 +1000)
commitbce27e3b8258bc3be8bea196079f4e20070fbdf7
tree6a70e1fdd31baba9065491f6b8d87b084cb36ea6
parent61f90d2abcb97c7301a3f7f1d7d810ecf6d8a984
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