[linux-yocto] [PATCH 13/15] arch/arm: Fix Build Failure When CONFIG_SMP=n
Daniel Dragomir
daniel.dragomir at windriver.com
Fri Jan 8 07:51:44 PST 2016
From: John Jacques <john.jacques at intel.com>
Signed-off-by: John Jacques <john.jacques at intel.com>
---
arch/arm/include/asm/kmap_types.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/kmap_types.h b/arch/arm/include/asm/kmap_types.h
index d4cfe9a..ce78a1d 100644
--- a/arch/arm/include/asm/kmap_types.h
+++ b/arch/arm/include/asm/kmap_types.h
@@ -4,11 +4,15 @@
/*
* This is the "bare minimum". AIO seems to require this.
*/
+#ifdef CONFIG_SMP
#if (CONFIG_NR_CPUS > 15)
/* Prevent overlap between fixmap mapping and CPU vector page for 16th core */
#define KM_TYPE_NR 15
#else
#define KM_TYPE_NR 16
#endif
+#else
+#define KM_TYPE_NR 16
+#endif
#endif
--
1.9.1
More information about the linux-yocto
mailing list