diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-09 23:53:40 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-09 23:53:40 -0500 |
commit | 49b09853df1a303876b82a6480efb2f7b45ef041 (patch) | |
tree | bf3d76ff0ddfe2e854f48ed890258ad89fa9c1dc /include | |
parent | d3d2176a0bc696b5365ce0e8f82a29a521d85fd0 (diff) |
powerpc: Move some extern declarations from C code into headers
This also make klimit have the same type on 32-bit as on 64-bit,
namely unsigned long, and defines and initializes it in one place.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/system.h | 1 | ||||
-rw-r--r-- | include/asm-ppc64/mmu.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h index f0cce5a30235..5341b75c75cb 100644 --- a/include/asm-powerpc/system.h +++ b/include/asm-powerpc/system.h | |||
@@ -179,6 +179,7 @@ extern struct task_struct *_switch(struct thread_struct *prev, | |||
179 | extern unsigned int rtas_data; | 179 | extern unsigned int rtas_data; |
180 | extern int mem_init_done; /* set on boot once kmalloc can be called */ | 180 | extern int mem_init_done; /* set on boot once kmalloc can be called */ |
181 | extern unsigned long memory_limit; | 181 | extern unsigned long memory_limit; |
182 | extern unsigned long klimit; | ||
182 | 183 | ||
183 | extern int powersave_nap; /* set if nap mode can be used in idle loop */ | 184 | extern int powersave_nap; /* set if nap mode can be used in idle loop */ |
184 | 185 | ||
diff --git a/include/asm-ppc64/mmu.h b/include/asm-ppc64/mmu.h index c43d512d5902..1a7e0afa2dc6 100644 --- a/include/asm-ppc64/mmu.h +++ b/include/asm-ppc64/mmu.h | |||
@@ -229,6 +229,7 @@ extern void htab_initialize_secondary(void); | |||
229 | extern void hpte_init_native(void); | 229 | extern void hpte_init_native(void); |
230 | extern void hpte_init_lpar(void); | 230 | extern void hpte_init_lpar(void); |
231 | extern void hpte_init_iSeries(void); | 231 | extern void hpte_init_iSeries(void); |
232 | extern void mm_init_ppc64(void); | ||
232 | 233 | ||
233 | extern long pSeries_lpar_hpte_insert(unsigned long hpte_group, | 234 | extern long pSeries_lpar_hpte_insert(unsigned long hpte_group, |
234 | unsigned long va, unsigned long prpn, | 235 | unsigned long va, unsigned long prpn, |