LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] MARKERS depends on MODULES
@ 2008-02-15 22:28 Chris Snook
  2008-02-15 22:37 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Snook @ 2008-02-15 22:28 UTC (permalink / raw)
  To: mathieu.desnoyers; +Cc: linux-kernel

From: Chris Snook <csnook@redhat.com>

Make MARKERS depend on MODULES to prevent build failures with certain configs.

Signed-off-by: Chris Snook <csnook@redhat.com>

diff --git a/init/Kconfig b/init/Kconfig
index dcef8b5..933df15 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -729,6 +729,7 @@ config PROFILING
 
 config MARKERS
 	bool "Activate markers"
+	depends on MODULES
 	help
 	  Place an empty function call at each marker site. Can be
 	  dynamically changed for a probe function.

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

* Re: [PATCH] MARKERS depends on MODULES
  2008-02-15 22:28 [PATCH] MARKERS depends on MODULES Chris Snook
@ 2008-02-15 22:37 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2008-02-15 22:37 UTC (permalink / raw)
  To: Chris Snook; +Cc: linux-kernel

* Chris Snook (csnook@redhat.com) wrote:
> From: Chris Snook <csnook@redhat.com>
> 
> Make MARKERS depend on MODULES to prevent build failures with certain configs.
> 
> Signed-off-by: Chris Snook <csnook@redhat.com>
> 
> diff --git a/init/Kconfig b/init/Kconfig
> index dcef8b5..933df15 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -729,6 +729,7 @@ config PROFILING
>  
>  config MARKERS
>  	bool "Activate markers"
> +	depends on MODULES
>  	help
>  	  Place an empty function call at each marker site. Can be
>  	  dynamically changed for a probe function.

It should not be needed. Please try Adrian's fix there :
http://lkml.org/lkml/2008/2/13/714

It should fix your problem.

Mathieu

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

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

end of thread, other threads:[~2008-02-15 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-15 22:28 [PATCH] MARKERS depends on MODULES Chris Snook
2008-02-15 22:37 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).