projects/linux·commit 947be5df

gcov: disable CONSTRUCTORS for UML

947be5df · Vitaliy Ivanov <[email protected]> · 2011-07-26 16:08:49 -07:00

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 <[email protected]>
Cc: Peter Oberparleiter <[email protected]>
Acked-by: Richard Weinberger <[email protected]>
Acked-by: WANG Cong <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
947be5dfdaaef01b43a3d5444688ebef2bd263d4
Parents
444d2921

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/gcov/Kconfigmodified+1−1View file

kernel/gcov/Kconfig

View file
diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig
index 5bf924d..a920281 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