arm64: Makefile: Replace -pg with CC_FLAGS_FTRACE
authorTorsten Duwe <duwe@lst.de>
Fri, 8 Feb 2019 15:10:07 +0000 (16:10 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 9 Apr 2019 09:34:59 +0000 (10:34 +0100)
commitedf072d36dbfdf74465b66988f30084b6c996fbf
tree659551740651fdb9700245aa388511cdcb235435
parentf6e564354a01dd943ba92c514ddf386080d7baa4
arm64: Makefile: Replace -pg with CC_FLAGS_FTRACE

In preparation for arm64 supporting ftrace built on other compiler
options, let's have the arm64 Makefiles remove the $(CC_FLAGS_FTRACE)
flags, whatever these may be, rather than assuming '-pg'.

There should be no functional change as a result of this patch.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/Makefile
arch/arm64/lib/Makefile