aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann2018-02-16 09:25:53 -0600
committerGreg Kroah-Hartman2018-02-22 08:45:00 -0600
commit6d046d9e75af120ce704f8d354d960bd0ad403ad (patch)
tree78cf2ca46ba7f364215f312189d048d197d4951f
parent890908b8352e8b565746b691c5f8d809668cca8f (diff)
downloadkernel-omap-6d046d9e75af120ce704f8d354d960bd0ad403ad.tar.gz
kernel-omap-6d046d9e75af120ce704f8d354d960bd0ad403ad.tar.xz
kernel-omap-6d046d9e75af120ce704f8d354d960bd0ad403ad.zip
mm: hide a #warning for COMPILE_TEST
commit af27d9403f5b80685b79c88425086edccecaf711 upstream. We get a warning about some slow configurations in randconfig kernels: mm/memory.c:83:2: error: #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. [-Werror=cpp] The warning is reasonable by itself, but gets in the way of randconfig build testing, so I'm hiding it whenever CONFIG_COMPILE_TEST is set. The warning was added in 2013 in commit 75980e97dacc ("mm: fold page->_last_nid into page->flags where possible"). Cc: stable@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--mm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 9ac55172aa7b..31ca97f7ebbc 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -72,7 +72,7 @@
72 72
73#include "internal.h" 73#include "internal.h"
74 74
75#ifdef LAST_CPUPID_NOT_IN_PAGE_FLAGS 75#if defined(LAST_CPUPID_NOT_IN_PAGE_FLAGS) && !defined(CONFIG_COMPILE_TEST)
76#warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. 76#warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
77#endif 77#endif
78 78