mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] gcov: Disable CONSTRUCTORS for UML
@ 2011-06-29 21:02 Vitaliy Ivanov
  2011-06-29 21:11 ` Richard Weinberger
  2011-06-30  1:53 ` Américo Wang
  0 siblings, 2 replies; 3+ messages in thread
From: Vitaliy Ivanov @ 2011-06-29 21:02 UTC (permalink / raw)
  To: lkml, Linus Torvalds
  Cc: Peter Oberparleiter, Jeff Dike, Richard Weinberger,
	Andrew Morton, Vitaliy Ivanov

>From df71d030a87910e42045dea517bf955caa72d2a8 Mon Sep 17 00:00:00 2001
From: Vitaliy Ivanov <vitalivanov@gmail.com>
Date: Wed, 29 Jun 2011 23:25:32 +0300
Subject: [PATCH] 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>
---
 kernel/gcov/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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
-- 
1.7.4.1






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-30  1:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-29 21:02 [PATCH] gcov: Disable CONSTRUCTORS for UML Vitaliy Ivanov
2011-06-29 21:11 ` Richard Weinberger
2011-06-30  1:53 ` Américo Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®