Skip to contentSkip to conversation

MARKERS depends on MODULES

PATCH In review Chris Snook 2 participants 2 messages Feb 15, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MARKERS depends on MODULES

From: Chris Snook <[email protected]>

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

init/Kconfig +1 -0
index dcef8b5..933df15 100644
@@ -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.
#1 lore raw
Quoted 11 lines · * Chris Snook ([email protected]) wrote:

From: Chris Snook <[email protected]>

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

init/Kconfig +0 -0
index dcef8b5..933df15 100644

init/Kconfig config PROFILING · line 735

Quoted 7 lines
init/Kconfig +1 -0
@@ -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

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