lkml.org 
[lkml]   [2016]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip.git#x86/debug] Re: x86/dumpstack: Combine some printk()s
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

\
 
 \ /
  Last update: 2016-04-02 13:41    [W:0.036 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site