diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-05-22 14:25:34 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-05-22 14:25:34 -0400 |
commit | e4b636366c00738b9609cda307014d71b1225b7f (patch) | |
tree | 760b67b3624eda62e943e48ce93635c30a5b47bf /arch/mips/mm/init.c | |
parent | b9ed7252d219c1c663944bf03846eabb515dbe75 (diff) | |
parent | 279e677faa775ad16e75c32e1bf4a37f8158bc61 (diff) |
Merge branch 'master' into for-2.6.31
Conflicts:
drivers/block/hd.c
drivers/block/mg_disk.c
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/mips/mm/init.c')
-rw-r--r-- | arch/mips/mm/init.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index d9348946a19e..c5511294a9ee 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c | |||
@@ -104,14 +104,6 @@ unsigned long setup_zero_pages(void) | |||
104 | return 1UL << order; | 104 | return 1UL << order; |
105 | } | 105 | } |
106 | 106 | ||
107 | /* | ||
108 | * These are almost like kmap_atomic / kunmap_atmic except they take an | ||
109 | * additional address argument as the hint. | ||
110 | */ | ||
111 | |||
112 | #define kmap_get_fixmap_pte(vaddr) \ | ||
113 | pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k(vaddr), (vaddr)), (vaddr)), (vaddr)) | ||
114 | |||
115 | #ifdef CONFIG_MIPS_MT_SMTC | 107 | #ifdef CONFIG_MIPS_MT_SMTC |
116 | static pte_t *kmap_coherent_pte; | 108 | static pte_t *kmap_coherent_pte; |
117 | static void __init kmap_coherent_init(void) | 109 | static void __init kmap_coherent_init(void) |
@@ -264,24 +256,6 @@ void copy_from_user_page(struct vm_area_struct *vma, | |||
264 | } | 256 | } |
265 | } | 257 | } |
266 | 258 | ||
267 | #ifdef CONFIG_HIGHMEM | ||
268 | unsigned long highstart_pfn, highend_pfn; | ||
269 | |||
270 | pte_t *kmap_pte; | ||
271 | pgprot_t kmap_prot; | ||
272 | |||
273 | static void __init kmap_init(void) | ||
274 | { | ||
275 | unsigned long kmap_vstart; | ||
276 | |||
277 | /* cache the first kmap pte */ | ||
278 | kmap_vstart = __fix_to_virt(FIX_KMAP_BEGIN); | ||
279 | kmap_pte = kmap_get_fixmap_pte(kmap_vstart); | ||
280 | |||
281 | kmap_prot = PAGE_KERNEL; | ||
282 | } | ||
283 | #endif /* CONFIG_HIGHMEM */ | ||
284 | |||
285 | void __init fixrange_init(unsigned long start, unsigned long end, | 259 | void __init fixrange_init(unsigned long start, unsigned long end, |
286 | pgd_t *pgd_base) | 260 | pgd_t *pgd_base) |
287 | { | 261 | { |