[linux-yocto] [PATCH 07/15] arch/arm: Fix Compiler Warnings

Daniel Dragomir daniel.dragomir at windriver.com
Fri Jan 8 07:51:38 PST 2016


From: John Jacques <john.jacques at intel.com>

The Axxia updates used NR_CPUS instead of CONFIG_NR_CPUS.

Signed-off-by: John Jacques <john.jacques at intel.com>
---
 arch/arm/include/asm/kmap_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/kmap_types.h b/arch/arm/include/asm/kmap_types.h
index 3e527f9..d4cfe9a 100644
--- a/arch/arm/include/asm/kmap_types.h
+++ b/arch/arm/include/asm/kmap_types.h
@@ -4,7 +4,7 @@
 /*
  * This is the "bare minimum".  AIO seems to require this.
  */
-#if (NR_CPUS > 15)
+#if (CONFIG_NR_CPUS > 15)
 /* Prevent overlap between fixmap mapping and CPU vector page for 16th core */
 #define KM_TYPE_NR 15
 #else
-- 
1.9.1



More information about the linux-yocto mailing list