diff options
Diffstat (limited to 'arch/mn10300/include/asm')
-rw-r--r-- | arch/mn10300/include/asm/mmu_context.h | 2 | ||||
-rw-r--r-- | arch/mn10300/include/asm/pci.h | 1 | ||||
-rw-r--r-- | arch/mn10300/include/asm/pgalloc.h | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/arch/mn10300/include/asm/mmu_context.h b/arch/mn10300/include/asm/mmu_context.h index c67c2b5365a6..75dbe696f830 100644 --- a/arch/mn10300/include/asm/mmu_context.h +++ b/arch/mn10300/include/asm/mmu_context.h | |||
@@ -71,7 +71,7 @@ static inline unsigned long allocate_mmu_context(struct mm_struct *mm) | |||
71 | local_flush_tlb_all(); | 71 | local_flush_tlb_all(); |
72 | 72 | ||
73 | /* fix the TLB version if needed (we avoid version #0 so as to | 73 | /* fix the TLB version if needed (we avoid version #0 so as to |
74 | * distingush MMU_NO_CONTEXT) */ | 74 | * distinguish MMU_NO_CONTEXT) */ |
75 | if (!mc) | 75 | if (!mc) |
76 | *pmc = mc = MMU_CONTEXT_FIRST_VERSION; | 76 | *pmc = mc = MMU_CONTEXT_FIRST_VERSION; |
77 | } | 77 | } |
diff --git a/arch/mn10300/include/asm/pci.h b/arch/mn10300/include/asm/pci.h index 6f31cc0f1a87..166323824683 100644 --- a/arch/mn10300/include/asm/pci.h +++ b/arch/mn10300/include/asm/pci.h | |||
@@ -44,7 +44,6 @@ extern void unit_pci_init(void); | |||
44 | #define pcibios_assign_all_busses() 0 | 44 | #define pcibios_assign_all_busses() 0 |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | extern unsigned long pci_mem_start; | ||
48 | #define PCIBIOS_MIN_IO 0xBE000004 | 47 | #define PCIBIOS_MIN_IO 0xBE000004 |
49 | #define PCIBIOS_MIN_MEM 0xB8000000 | 48 | #define PCIBIOS_MIN_MEM 0xB8000000 |
50 | 49 | ||
diff --git a/arch/mn10300/include/asm/pgalloc.h b/arch/mn10300/include/asm/pgalloc.h index 146bacf193ea..0f25d5fa86f3 100644 --- a/arch/mn10300/include/asm/pgalloc.h +++ b/arch/mn10300/include/asm/pgalloc.h | |||
@@ -46,6 +46,7 @@ static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) | |||
46 | 46 | ||
47 | static inline void pte_free(struct mm_struct *mm, struct page *pte) | 47 | static inline void pte_free(struct mm_struct *mm, struct page *pte) |
48 | { | 48 | { |
49 | pgtable_page_dtor(pte); | ||
49 | __free_page(pte); | 50 | __free_page(pte); |
50 | } | 51 | } |
51 | 52 | ||