diff options
Diffstat (limited to 'arch/unicore32/mm/mm.h')
-rw-r--r-- | arch/unicore32/mm/mm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/unicore32/mm/mm.h b/arch/unicore32/mm/mm.h index 3296bca0f1f7..05c7f532eee2 100644 --- a/arch/unicore32/mm/mm.h +++ b/arch/unicore32/mm/mm.h | |||
@@ -9,6 +9,8 @@ | |||
9 | * it under the terms of the GNU General Public License version 2 as | 9 | * it under the terms of the GNU General Public License version 2 as |
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | #include <asm/hwdef-copro.h> | ||
13 | |||
12 | /* the upper-most page table pointer */ | 14 | /* the upper-most page table pointer */ |
13 | extern pmd_t *top_pmd; | 15 | extern pmd_t *top_pmd; |
14 | extern int sysctl_overcommit_memory; | 16 | extern int sysctl_overcommit_memory; |
@@ -34,6 +36,9 @@ struct mem_type { | |||
34 | const struct mem_type *get_mem_type(unsigned int type); | 36 | const struct mem_type *get_mem_type(unsigned int type); |
35 | 37 | ||
36 | extern void __flush_dcache_page(struct address_space *, struct page *); | 38 | extern void __flush_dcache_page(struct address_space *, struct page *); |
39 | extern void hook_fault_code(int nr, int (*fn) | ||
40 | (unsigned long, unsigned int, struct pt_regs *), | ||
41 | int sig, int code, const char *name); | ||
37 | 42 | ||
38 | void __init bootmem_init(void); | 43 | void __init bootmem_init(void); |
39 | void uc32_mm_memblock_reserve(void); | 44 | void uc32_mm_memblock_reserve(void); |