Kbuild, lto, workaround: Don't warn for initcall_reference in modpost
authorAndi Kleen <ak@linux.intel.com>
Sat, 8 Feb 2014 08:01:11 +0000 (09:01 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 14 Feb 2014 04:24:56 +0000 (20:24 -0800)
commit77ab21adae509c5540956729e2d03bc1a59bc82a
treed616231793b2ccd04b18d980e5716e98e8177cec
parent58edae3aac9f2ccd1afb12ea08127e840a0a706c
Kbuild, lto, workaround: Don't warn for initcall_reference in modpost

This reference is discarded, but can cause warnings when it refers to
exit. Ignore for now.

This is a workaround and can be removed once we get rid of
-fno-toplevel-reorder

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391846481-31491-7-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
scripts/mod/modpost.c