From aec359a3e9f3d24e61975191e92caace158771c9 Mon Sep 17 00:00:00 2001 From: Pete Popov Date: Thu, 14 Jul 2005 00:17:05 +0000 Subject: [PATCH] --- yaml --- r: 11159 b: refs/heads/master c: f10fae02403fb8af141b0a440074a944ccd63504 h: refs/heads/master i: 11157: 614543d2189a3a230906bfb58713f1a9342e287e 11155: 5ad8fa5a2f63f5782769037c9a073c8fd467d650 11151: 673c6ce282b0d56e472bcd10b26e54a795df0c2e v: v3 --- [refs] | 2 +- trunk/include/asm-mips/mach-au1x00/ioremap.h | 4 +++- trunk/include/asm-mips/pgtable.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 32306de703fa..d34800f457c3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 10f6567e63a0ba9b473da9ea60452ffdb07ced02 +refs/heads/master: f10fae02403fb8af141b0a440074a944ccd63504 diff --git a/trunk/include/asm-mips/mach-au1x00/ioremap.h b/trunk/include/asm-mips/mach-au1x00/ioremap.h index f1c8c1087115..d3ec6274575a 100644 --- a/trunk/include/asm-mips/mach-au1x00/ioremap.h +++ b/trunk/include/asm-mips/mach-au1x00/ioremap.h @@ -12,7 +12,9 @@ #include #include -#ifndef CONFIG_64BIT_PHYS_ADDR +#ifdef CONFIG_64BIT_PHYS_ADDR +extern phys_t __fixup_bigphys_addr(phys_t, phys_t); +#else static inline phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size) { return phys_addr; diff --git a/trunk/include/asm-mips/pgtable.h b/trunk/include/asm-mips/pgtable.h index 9f75baf11e25..1e8ae2723be4 100644 --- a/trunk/include/asm-mips/pgtable.h +++ b/trunk/include/asm-mips/pgtable.h @@ -16,6 +16,7 @@ #include #endif +#include #include #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT) @@ -362,7 +363,6 @@ static inline void update_mmu_cache(struct vm_area_struct *vma, #endif #ifdef CONFIG_64BIT_PHYS_ADDR -extern phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size); extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot); static inline int io_remap_pfn_range(struct vm_area_struct *vma,