diff options
author | 2011-04-12 18:59:10 -0400 | |
---|---|---|
committer | 2011-05-17 10:41:49 -0400 | |
commit | a3a8350ab2f588f3a7a08dc86658bf90773f9a52 (patch) | |
tree | 723c1381ccff878bbf2302afbb6b1f84a4b34513 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | ftrace/recordmcount: Add warning logic to warn on mcount not recorded (diff) | |
download | wireguard-linux-a3a8350ab2f588f3a7a08dc86658bf90773f9a52.tar.xz wireguard-linux-a3a8350ab2f588f3a7a08dc86658bf90773f9a52.zip |
kbuild/recordmcount: Add RECORDMCOUNT_WARN to warn about mcount callers
When mcount is called in a section that ftrace will not modify it into
a nop, we want to warn about this. But not warn about this always. Now
if the user builds the kernel with the option RECORDMCOUNT_WARN=1 then
the build will warn about mcount callers that are ignored and will just
waste execution time.
Acked-by: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org
Link: http://lkml.kernel.org/r/20110421023738.714956282@goodmis.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions