From: Jim Cromie Date: Mon, 19 Dec 2011 22:11:18 +0000 (-0500) Subject: dynamic_debug: make dynamic-debug supersede DEBUG ccflag X-Git-Tag: v3.4-rc1~187^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b558c96ffa53f4b3dd52b774e4fb7a52982ab52b;p=pandora-kernel.git dynamic_debug: make dynamic-debug supersede DEBUG ccflag If CONFIG_DYNAMIC_DEBUG is defined, honor it over DEBUG, so that pr_debug()s are controllable, instead of always-on. When DEBUG is also defined, change _DPRINTK_FLAGS_DEFAULT to enable printing by default. Also adding _DPRINTK_FLAGS_INCL_MODNAME would be nice, but there are numerous cases of pr_debug(NAME ": ...), which would result in double printing of module-name. So defer this until things settle. Cc: David Miller Cc: Joe Perches Signed-off-by: Jim Cromie Signed-off-by: Jason Baron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed