um: Disable CONFIG_GCOV with MODULES
authorJohannes Berg <johannes.berg@intel.com>
Mon, 15 Mar 2021 22:47:31 +0000 (23:47 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 15 Apr 2021 21:10:33 +0000 (23:10 +0200)
commitad3d19911632debc886ef4a992d41d6de7927006
treee36b92a80cb8dd5271f1470e6338352b039fdcaa
parentea8e896cc15e8fac586d018733fd67f56cd721cc
um: Disable CONFIG_GCOV with MODULES

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>
arch/um/Kconfig.debug
arch/um/kernel/Makefile
arch/um/kernel/gmon_syms.c [deleted file]