]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Have MPROFILE_KERNEL depend on FUNCTION_TRACER
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 22 Apr 2020 09:26:12 +0000 (14:56 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 30 Apr 2020 02:56:28 +0000 (12:56 +1000)
commit3b826dece0d79791b0e545bde5396c6a59051fa1
tree72a8ee0c72247bab207275071fec8aacd751f3c5
parent68b875b3f7d74f9d255864b79c293004a7a2fe0c
powerpc/64: Have MPROFILE_KERNEL depend on FUNCTION_TRACER

Currently, it is possible to have CONFIG_FUNCTION_TRACER disabled, but
CONFIG_MPROFILE_KERNEL enabled. Though all existing users of
MPROFILE_KERNEL are doing the right thing, it is weird to have
MPROFILE_KERNEL enabled when the function tracer isn't. Fix this by
making MPROFILE_KERNEL depend on FUNCTION_TRACER.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200422092612.514301-1-naveen.n.rao@linux.vnet.ibm.com
arch/powerpc/Kconfig