aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/mmu_decl.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-10 07:58:35 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-10 07:58:35 -0400
commitab1f9dac6eea25ee59e4c8e1cf0b7476afbbfe07 (patch)
tree03577652197b5e58c348ede3c474bc8dd47e046c /arch/powerpc/mm/mmu_decl.h
parent70d64ceaa1a84d2502405422a4dfd3f87786a347 (diff)
powerpc: Merge arch/ppc64/mm to arch/powerpc/mm
This moves the remaining files in arch/ppc64/mm to arch/powerpc/mm, and arranges that we use them when compiling with ARCH=ppc64. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/mmu_decl.h')
-rw-r--r--arch/powerpc/mm/mmu_decl.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h
index 06fe8af3af55..a4d7a327c0e5 100644
--- a/arch/powerpc/mm/mmu_decl.h
+++ b/arch/powerpc/mm/mmu_decl.h
@@ -22,11 +22,11 @@
22#include <asm/tlbflush.h> 22#include <asm/tlbflush.h>
23#include <asm/mmu.h> 23#include <asm/mmu.h>
24 24
25#ifdef CONFIG_PPC32
25extern void mapin_ram(void); 26extern void mapin_ram(void);
26extern int map_page(unsigned long va, phys_addr_t pa, int flags); 27extern int map_page(unsigned long va, phys_addr_t pa, int flags);
27extern void setbat(int index, unsigned long virt, unsigned long phys, 28extern void setbat(int index, unsigned long virt, unsigned long phys,
28 unsigned int size, int flags); 29 unsigned int size, int flags);
29extern void reserve_phys_mem(unsigned long start, unsigned long size);
30extern void settlbcam(int index, unsigned long virt, phys_addr_t phys, 30extern void settlbcam(int index, unsigned long virt, phys_addr_t phys,
31 unsigned int size, int flags, unsigned int pid); 31 unsigned int size, int flags, unsigned int pid);
32extern void invalidate_tlbcam_entry(int index); 32extern void invalidate_tlbcam_entry(int index);
@@ -36,16 +36,16 @@ extern unsigned long ioremap_base;
36extern unsigned long ioremap_bot; 36extern unsigned long ioremap_bot;
37extern unsigned int rtas_data, rtas_size; 37extern unsigned int rtas_data, rtas_size;
38 38
39extern unsigned long __max_low_memory;
40extern unsigned long __initial_memory_limit;
41extern unsigned long total_memory;
42extern unsigned long total_lowmem;
43extern int mem_init_done;
44
45extern PTE *Hash, *Hash_end; 39extern PTE *Hash, *Hash_end;
46extern unsigned long Hash_size, Hash_mask; 40extern unsigned long Hash_size, Hash_mask;
47 41
48extern unsigned int num_tlbcam_entries; 42extern unsigned int num_tlbcam_entries;
43#endif
44
45extern unsigned long __max_low_memory;
46extern unsigned long __initial_memory_limit;
47extern unsigned long total_memory;
48extern unsigned long total_lowmem;
49 49
50/* ...and now those things that may be slightly different between processor 50/* ...and now those things that may be slightly different between processor
51 * architectures. -- Dan 51 * architectures. -- Dan
@@ -66,8 +66,8 @@ extern void MMU_init_hw(void);
66extern unsigned long mmu_mapin_ram(void); 66extern unsigned long mmu_mapin_ram(void);
67extern void adjust_total_lowmem(void); 67extern void adjust_total_lowmem(void);
68 68
69#else 69#elif defined(CONFIG_PPC32)
70/* anything except 4xx or 8xx */ 70/* anything 32-bit except 4xx or 8xx */
71extern void MMU_init_hw(void); 71extern void MMU_init_hw(void);
72extern unsigned long mmu_mapin_ram(void); 72extern unsigned long mmu_mapin_ram(void);
73 73