lkml.org 
[lkml]   [2012]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: add config NUMA stub to all architectures
On Fri, 17 Feb 2012 16:08:15 +0400
Konstantin Khlebnikov <khlebnikov@openvz.org> wrote:

> Config NUMA must be defined for all architectures,
> otherwise IS_ENABLED(CONFIG_NUMA) does not work.
> Some arch-specific Kconfig already has this stub.
> This patch adds it to all remaining.

It would be better to teach IS_ENABLED() to handle this situation. I
don't think there's a way of doing this with cpp :(

This limitation makes IS_ENABLED pretty dangerous, doesn't it? It
makes it very easy to introduce build breakage with unexpected Kconfig
combinations.




\
 
 \ /
  Last update: 2012-02-17 21:33    [W:1.334 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site