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>
This commit is contained in:
parent
d3d2176a0b
commit
49b09853df
9 changed files with 6 additions and 21 deletions
|
@ -179,6 +179,7 @@ extern struct task_struct *_switch(struct thread_struct *prev,
|
|||
extern unsigned int rtas_data;
|
||||
extern int mem_init_done; /* set on boot once kmalloc can be called */
|
||||
extern unsigned long memory_limit;
|
||||
extern unsigned long klimit;
|
||||
|
||||
extern int powersave_nap; /* set if nap mode can be used in idle loop */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue