Re: [tip.git#x86/debug] Re: x86/dumpstack: Combine some printk()s
From: Thomas Gleixner
Date: Sat Apr 02 2016 - 07:13:43 EST
On Sat, 2 Apr 2016, Sedat Dilek wrote:
> Hi,
>
> I was looking through tip Git tree...
>
> Why didn't you use...
>
> + IS_ENABLED(CONFIG_DEBUG_PAGEALLOC) ? " DEBUG_PAGEALLOC" : "",
>
> ...instead of...
>
> + debug_pagealloc_enabled() ? " DEBUG_PAGEALLOC" : "",
>
> ...for consistency reasons?
Hint: Lookup the implementation of debug_pagealloc_enabled()
Thanks,
tglx