diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/highmem.h | 1 | ||||
-rw-r--r-- | include/asm-mips/pgtable-32.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-mips/highmem.h b/include/asm-mips/highmem.h index 4d6bd5c31c7b..4374ab2adc75 100644 --- a/include/asm-mips/highmem.h +++ b/include/asm-mips/highmem.h | |||
@@ -39,7 +39,6 @@ extern pte_t *pkmap_page_table; | |||
39 | * easily, subsequent pte tables have to be allocated in one physical | 39 | * easily, subsequent pte tables have to be allocated in one physical |
40 | * chunk of RAM. | 40 | * chunk of RAM. |
41 | */ | 41 | */ |
42 | #define PKMAP_BASE (0xfe000000UL) | ||
43 | #define LAST_PKMAP 1024 | 42 | #define LAST_PKMAP 1024 |
44 | #define LAST_PKMAP_MASK (LAST_PKMAP-1) | 43 | #define LAST_PKMAP_MASK (LAST_PKMAP-1) |
45 | #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) | 44 | #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) |
diff --git a/include/asm-mips/pgtable-32.h b/include/asm-mips/pgtable-32.h index a0947092d0e0..ceefe027c761 100644 --- a/include/asm-mips/pgtable-32.h +++ b/include/asm-mips/pgtable-32.h | |||
@@ -65,6 +65,8 @@ extern int add_temporary_entry(unsigned long entrylo0, unsigned long entrylo1, | |||
65 | 65 | ||
66 | #define VMALLOC_START MAP_BASE | 66 | #define VMALLOC_START MAP_BASE |
67 | 67 | ||
68 | #define PKMAP_BASE (0xfe000000UL) | ||
69 | |||
68 | #ifdef CONFIG_HIGHMEM | 70 | #ifdef CONFIG_HIGHMEM |
69 | # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE) | 71 | # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE) |
70 | #else | 72 | #else |