summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/pgalloc.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-02-05 01:01:00 +0100
committerGreg Ungerer <gerg@uclinux.org>2009-03-24 06:17:43 +0100
commit606333d64e06db9ae14b5a025380bc5954b1a6c4 (patch)
treea89dbd06dbb41466322d5e3c4433e781a05fbb35 /arch/m68k/include/asm/pgalloc.h
parentm68knommu: mv definition of check_pgt_cache() (diff)
downloadlinux-606333d64e06db9ae14b5a025380bc5954b1a6c4.tar.xz
linux-606333d64e06db9ae14b5a025380bc5954b1a6c4.zip
m68k: merge the mmu and non-mmu versions of pgalloc.h
Trivial merge of the mmu and non-mmu version of pgalloc.h Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/pgalloc.h')
-rw-r--r--arch/m68k/include/asm/pgalloc.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/pgalloc.h b/arch/m68k/include/asm/pgalloc.h
index 059cb73e78fc..c294aad8a900 100644
--- a/arch/m68k/include/asm/pgalloc.h
+++ b/arch/m68k/include/asm/pgalloc.h
@@ -1,5 +1,19 @@
-#ifdef __uClinux__
-#include "pgalloc_no.h"
+#ifndef M68K_PGALLOC_H
+#define M68K_PGALLOC_H
+
+#include <linux/mm.h>
+#include <linux/highmem.h>
+#include <asm/setup.h>
+
+#ifdef CONFIG_MMU
+#include <asm/virtconvert.h>
+#ifdef CONFIG_SUN3
+#include <asm/sun3_pgalloc.h>
#else
-#include "pgalloc_mm.h"
+#include <asm/motorola_pgalloc.h>
#endif
+
+extern void m68k_setup_node(int node);
+#endif
+
+#endif /* M68K_PGALLOC_H */