powerpc/ftrace: Use $(CC_FLAGS_FTRACE) when disabling ftrace
authorTorsten Duwe <duwe@lst.de>
Thu, 3 Mar 2016 04:26:58 +0000 (15:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Mar 2016 03:53:55 +0000 (14:53 +1100)
commit9a7841ae8d6ce9b7a7cf879c9968fcf4c9545563
tree3b8c23b066a6e24026f399b34a60da62f0c71ba6
parentc96f83856f56a66a5d7fd730958bec80c9b5a020
powerpc/ftrace: Use $(CC_FLAGS_FTRACE) when disabling ftrace

Rather than open-coding -pg whereever we want to disable ftrace, use the
existing $(CC_FLAGS_FTRACE) variable.

This has the advantage that it will work in future when we use a
different set of flags to enable ftrace.

Signed-off-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/Makefile
arch/powerpc/lib/Makefile
arch/powerpc/platforms/powermac/Makefile
This page took 0.039075 seconds and 5 git commands to generate.