summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/pgalloc.h')
-rw-r--r--include/asm-sparc/pgalloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sparc/pgalloc.h b/include/asm-sparc/pgalloc.h
index fc323280b..7a2b81beb 100644
--- a/include/asm-sparc/pgalloc.h
+++ b/include/asm-sparc/pgalloc.h
@@ -2,6 +2,7 @@
#ifndef _SPARC_PGALLOC_H
#define _SPARC_PGALLOC_H
+#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/sched.h>
@@ -9,7 +10,7 @@
#include <asm/btfixup.h>
/* Fine grained cache/tlb flushing. */
-#ifdef __SMP__
+#ifdef CONFIG_SMP
BTFIXUPDEF_CALL(void, local_flush_cache_all, void)
BTFIXUPDEF_CALL(void, local_flush_cache_mm, struct mm_struct *)
BTFIXUPDEF_CALL(void, local_flush_cache_range, struct mm_struct *, unsigned long, unsigned long)