[MIPS] Fix yosemite build error
authorRalf Baechle <ralf@linux-mips.org>
Mon, 10 Mar 2008 09:31:50 +0000 (09:31 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Mar 2008 14:14:42 +0000 (14:14 +0000)
<linux/mm.h> didn't pickup the definition of PKMAP_BASE from fixmap.h, ugh.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/highmem.h
include/asm-mips/pgtable-32.h

index 4d6bd5c31c7bf38f5551d08a2db3b980ed1cac37..4374ab2adc756626cd5d9278b37679737a9db6ca 100644 (file)
@@ -39,7 +39,6 @@ extern pte_t *pkmap_page_table;
  * easily, subsequent pte tables have to be allocated in one physical
  * chunk of RAM.
  */
-#define PKMAP_BASE (0xfe000000UL)
 #define LAST_PKMAP 1024
 #define LAST_PKMAP_MASK (LAST_PKMAP-1)
 #define PKMAP_NR(virt)  ((virt-PKMAP_BASE) >> PAGE_SHIFT)
index a0947092d0e0f11607f03193a87ee098dc061bf3..ceefe027c76104176a985751ea45d76a972db76f 100644 (file)
@@ -65,6 +65,8 @@ extern int add_temporary_entry(unsigned long entrylo0, unsigned long entrylo1,
 
 #define VMALLOC_START     MAP_BASE
 
+#define PKMAP_BASE             (0xfe000000UL)
+
 #ifdef CONFIG_HIGHMEM
 # define VMALLOC_END   (PKMAP_BASE-2*PAGE_SIZE)
 #else