summaryrefslogtreecommitdiffstats
path: root/kernel/gcov/Kconfig
diff options
context:
space:
mode:
authorVitaliy Ivanov <vitalivanov@gmail.com>2011-07-27 01:08:49 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 01:49:45 +0200
commit947be5dfdaaef01b43a3d5444688ebef2bd263d4 (patch)
tree5abd88d64059278c952a84c9a07a59d8b50040d6 /kernel/gcov/Kconfig
parentdrivers/edac/mpc85xx_edac.c: correct offset_in_page mask bits in edac_mc_hand... (diff)
downloadlinux-947be5dfdaaef01b43a3d5444688ebef2bd263d4.tar.xz
linux-947be5dfdaaef01b43a3d5444688ebef2bd263d4.zip
gcov: disable CONSTRUCTORS for UML
Selecting GCOV for UML causing configuration mismatch: warning: (GCOV_KERNEL) selects CONSTRUCTORS which has unmet direct dependencies (!UML) Constructors are not needed for UML. Signed-off-by: Vitaliy Ivanov <vitalivanov@gmail.com> Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Acked-by: Richard Weinberger <richard@nod.at> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/gcov/Kconfig')
-rw-r--r--kernel/gcov/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig
index 5bf924d80b5c..a92028196cc1 100644
--- a/kernel/gcov/Kconfig
+++ b/kernel/gcov/Kconfig
@@ -3,7 +3,7 @@ menu "GCOV-based kernel profiling"
config GCOV_KERNEL
bool "Enable gcov-based kernel profiling"
depends on DEBUG_FS
- select CONSTRUCTORS
+ select CONSTRUCTORS if !UML
default n
---help---
This option enables gcov-based code profiling (e.g. for code coverage