seems we should comment DEBUG as above comment said:
"/* un-comment DEBUG to enable pr_debug() statements */"
now, pr_debug is already enabled as DEBUG been defined.
Signed-off-by: liguang <[email protected]>
---
drivers/idle/intel_idle.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 5d66750..9618586 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -51,7 +51,7 @@
*/
/* un-comment DEBUG to enable pr_debug() statements */
-#define DEBUG
+/* #define DEBUG */
#include <linux/kernel.h>
#include <linux/cpuidle.h>
--
1.7.2.5
ping ...
在 2013-04-25四的 15:00 +0800,liguang写道:
> seems we should comment DEBUG as above comment said:
> "/* un-comment DEBUG to enable pr_debug() statements */"
>
> now, pr_debug is already enabled as DEBUG been defined.
>
> Signed-off-by: liguang <[email protected]>
> ---
> drivers/idle/intel_idle.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
> index 5d66750..9618586 100644
> --- a/drivers/idle/intel_idle.c
> +++ b/drivers/idle/intel_idle.c
> @@ -51,7 +51,7 @@
> */
>
> /* un-comment DEBUG to enable pr_debug() statements */
> -#define DEBUG
> +/* #define DEBUG */
>
> #include <linux/kernel.h>
> #include <linux/cpuidle.h>