summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/pgalloc.h')
-rw-r--r--include/asm-arm/pgalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/pgalloc.h b/include/asm-arm/pgalloc.h
index 12b2f3390..c0548236b 100644
--- a/include/asm-arm/pgalloc.h
+++ b/include/asm-arm/pgalloc.h
@@ -25,9 +25,9 @@ extern __inline__ void flush_tlb_pgtables(struct mm_struct *mm,
*/
#ifndef CONFIG_NO_PGT_CACHE
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#error Pgtable caches have to be per-CPU, so that no locking is needed.
-#endif /* __SMP__ */
+#endif /* CONFIG_SMP */
extern struct pgtable_cache_struct {
unsigned long *pgd_cache;