diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-03-15 23:47:31 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-04-15 23:10:33 +0200 |
commit | ad3d19911632debc886ef4a992d41d6de7927006 (patch) | |
tree | e36b92a80cb8dd5271f1470e6338352b039fdcaa /arch/um/kernel/gmon_syms.c | |
parent | um: Remove unneeded variable 'ret' (diff) | |
download | wireguard-linux-ad3d19911632debc886ef4a992d41d6de7927006.tar.xz wireguard-linux-ad3d19911632debc886ef4a992d41d6de7927006.zip |
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>
Diffstat (limited to 'arch/um/kernel/gmon_syms.c')
-rw-r--r-- | arch/um/kernel/gmon_syms.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/um/kernel/gmon_syms.c b/arch/um/kernel/gmon_syms.c deleted file mode 100644 index 9361a8eb9bf1..000000000000 --- a/arch/um/kernel/gmon_syms.c +++ /dev/null @@ -1,16 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) - */ - -#include <linux/module.h> - -extern void __bb_init_func(void *) __attribute__((weak)); -EXPORT_SYMBOL(__bb_init_func); - -extern void __gcov_init(void *) __attribute__((weak)); -EXPORT_SYMBOL(__gcov_init); -extern void __gcov_merge_add(void *, unsigned int) __attribute__((weak)); -EXPORT_SYMBOL(__gcov_merge_add); -extern void __gcov_exit(void) __attribute__((weak)); -EXPORT_SYMBOL(__gcov_exit); |