Re: [RFC PATCH] dynamic_debug: only add header when used

2016-07-13 Thread Luis de Bethencourt
On 13/07/16 21:32, Andrew Morton wrote: > On Wed, 13 Jul 2016 18:09:53 +0100 Luis de Bethencourt > wrote: > >> kernel.h header doesn't directly use dynamic debug, instead we can include >> it in module.c (which used it via kernel.h). printk.h only uses it if >> CONFIG_DYNAMIC_DEBUG is on, changi

Re: [RFC PATCH] dynamic_debug: only add header when used

2016-07-13 Thread Luis de Bethencourt
On 13/07/16 21:32, Andrew Morton wrote: > On Wed, 13 Jul 2016 18:09:53 +0100 Luis de Bethencourt > wrote: > >> kernel.h header doesn't directly use dynamic debug, instead we can include >> it in module.c (which used it via kernel.h). printk.h only uses it if >> CONFIG_DYNAMIC_DEBUG is on, changi

Re: [RFC PATCH] dynamic_debug: only add header when used

2016-07-13 Thread Andrew Morton
On Wed, 13 Jul 2016 18:09:53 +0100 Luis de Bethencourt wrote: > kernel.h header doesn't directly use dynamic debug, instead we can include > it in module.c (which used it via kernel.h). printk.h only uses it if > CONFIG_DYNAMIC_DEBUG is on, changing the inclusion to only happen in that > case. >

[RFC PATCH] dynamic_debug: only add header when used

2016-07-13 Thread Luis de Bethencourt
kernel.h header doesn't directly use dynamic debug, instead we can include it in module.c (which used it via kernel.h). printk.h only uses it if CONFIG_DYNAMIC_DEBUG is on, changing the inclusion to only happen in that case. Signed-off-by: Luis de Bethencourt --- Hi, While studying the problem t