Skip to content
  • Tom Rini's avatar
    numa: Mark __node_set() as __always_inline · 323f54ed
    Tom Rini authored
    
    
    It is posible for some compilers to decide that __node_set() does
    not need to be made turned into an inline function.  When the
    compiler does this on an __init function calling it on
    __initdata we get a section mismatch warning now.  Use
    __always_inline to ensure that we will be inlined.
    
    Reported-by: default avatarPaul Bolle <pebolle@tiscali.nl>
    Cc: Jianpeng Ma <majianpeng@gmail.com>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
    Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
    Cc: Wen Congyang <wency@cn.fujitsu.com>
    Cc: Jiang Liu <jiang.liu@huawei.com>
    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    Cc: Minchan Kim <minchan.kim@gmail.com>
    Cc: Mel Gorman <mgorman@suse.de>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Greg KH <greg@kroah.com>
    Signed-off-by: default avatarTom Rini <trini@ti.com>
    Link: http://lkml.kernel.org/r/1374776770-32361-1-git-send-email-trini@ti.com
    
    
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    323f54ed