]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
um: Disable CONFIG_GCOV with MODULES
authorJohannes Berg <johannes.berg@intel.com>
Mon, 15 Mar 2021 22:47:31 +0000 (23:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 May 2021 09:40:53 +0000 (11:40 +0200)
commit2f06cd6d9c6a477b1afd6a8beda3df9ec618009b
tree4e3cecca603754e27f76a722d8acfdf0b6116aa5
parent91628cfd70d0cf0bf0268a00af1277929a5542be
um: Disable CONFIG_GCOV with MODULES

[ Upstream commit ad3d19911632debc886ef4a992d41d6de7927006 ]

CONFIG_GCOV doesn't work with modules, and for various reasons
it cannot work, see also
https://lore.kernel.org/r/d36ea54d8c0a8dd706826ba844a6f27691f45d55.camel@sipsolutions.net

Make CONFIG_GCOV depend on !MODULES to avoid anyone
running into issues there. This also means we need
not export the gcov symbols.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/Kconfig.debug
arch/um/kernel/Makefile
arch/um/kernel/gmon_syms.c [deleted file]