summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm
diff options
context:
space:
mode:
authorMichal Simek2010-09-10 12:43:42 +0200
committerMichal Simek2010-10-21 07:51:44 +0200
commit099a2f4284eba5da2708d0e8fe0797dc095d47ca (patch)
tree832dbc53bbdc4c75a761f700c0ebb10d1ac65e6a /arch/microblaze/include/asm
parentmicroblaze: Export missing symbols for modules (diff)
downloadkernel-qcow2-linux-099a2f4284eba5da2708d0e8fe0797dc095d47ca.tar.gz
kernel-qcow2-linux-099a2f4284eba5da2708d0e8fe0797dc095d47ca.tar.xz
kernel-qcow2-linux-099a2f4284eba5da2708d0e8fe0797dc095d47ca.zip
microblaze: Define VMALLOC_START/END
per cpu changes requires VMALLOC_START/END to be define even for noMMU systems. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r--arch/microblaze/include/asm/pgtable.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/pgtable.h b/arch/microblaze/include/asm/pgtable.h
index ca2d92871545..d4f421672d3b 100644
--- a/arch/microblaze/include/asm/pgtable.h
+++ b/arch/microblaze/include/asm/pgtable.h
@@ -57,6 +57,13 @@ static inline int pte_file(pte_t pte) { return 0; }
#define pgprot_noncached_wc(prot) prot
+/*
+ * All 32bit addresses are effectively valid for vmalloc...
+ * Sort of meaningless for non-VM targets.
+ */
+#define VMALLOC_START 0
+#define VMALLOC_END 0xffffffff
+
#else /* CONFIG_MMU */
#include <asm-generic/4level-fixup.h>