summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/page.h')
-rw-r--r--include/asm-m68k/page.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m68k/page.h b/include/asm-m68k/page.h
index f9f50bff7..a3fe87e71 100644
--- a/include/asm-m68k/page.h
+++ b/include/asm-m68k/page.h
@@ -8,7 +8,7 @@
#ifdef __KERNEL__
-#include<linux/config.h>
+#include <asm/setup.h>
#define STRICT_MM_TYPECHECKS
@@ -18,7 +18,7 @@
/*
* We don't need to check for alignment etc.
*/
-#if defined(CONFIG_OPTIMIZE_040) || defined(CONFIG_OPTIMIZE_060)
+#ifdef CPU_M68040_OR_M68060_ONLY
static inline void copy_page(unsigned long to, unsigned long from)
{
unsigned long tmp;