[PATCH 1/5] added config item "FEATURE_POWERTOP_PROCIRQ"

Manuel Zerpies manuel.f.zerpies at ww.stud.uni-erlangen.de
Thu Nov 29 20:47:04 UTC 2012


removed the comment and made the IRQ for powertop configurable

Signed-off-by: Manuel Zerpies <manuel.f.zerpies at ww.stud.uni-erlangen.de>
---
 procps/powertop.c |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/procps/powertop.c b/procps/powertop.c
index b4c45ed..6d2adc8 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -19,8 +19,13 @@
 //config:	help
 //config:	  Analyze power consumption on Intel-based laptops
 
-// XXX This should be configurable
-#define ENABLE_FEATURE_POWERTOP_PROCIRQ 1
+//config:config FEATURE_POWERTOP_PROCIRQ
+//config:	bool "powertop procirq"
+//config:	default y
+//config:	depends on POWERTOP
+//config:	help
+//config:	  Handle interrupt requests
+
 
 #include "libbb.h"
 
-- 
1.7.9.5



More information about the busybox mailing list