]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
microblaze: Define VMALLOC_START/END
authorMichal Simek <monstr@monstr.eu>
Fri, 10 Sep 2010 10:43:42 +0000 (12:43 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 21 Oct 2010 05:51:44 +0000 (15:51 +1000)
per cpu changes requires VMALLOC_START/END to be
define even for noMMU systems.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/pgtable.h

index ca2d92871545821affe833848788e976b8c2f09a..d4f421672d3b95c17f9891749928aad310780866 100644 (file)
@@ -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>