gcov: disable CONSTRUCTORS for UML
authorVitaliy Ivanov <[email protected]>
Tue, 26 Jul 2011 23:08:49 +0000 (16:08 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2011 23:49:45 +0000 (16:49 -0700)
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]>
kernel/gcov/Kconfig

index 5bf924d80b5c64be2888be0afd65008260e8db01..a92028196cc10952fa3a2a83d44955b2a401a998 100644 (file)
@@ -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