[POWERPC] Move declaration of init_bootmem_done into system.h

... instead of having an extern declaration in a .c file.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Michael Ellerman 2008-05-08 14:27:07 +10:00 коммит произвёл Paul Mackerras
Родитель 683307da07
Коммит 5f25f06529
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -43,6 +43,7 @@
#include <asm/btext.h> #include <asm/btext.h>
#include <asm/tlb.h> #include <asm/tlb.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/system.h>
#include "mmu_decl.h" #include "mmu_decl.h"
@ -76,8 +77,6 @@ void MMU_init(void);
/* XXX should be in current.h -- paulus */ /* XXX should be in current.h -- paulus */
extern struct task_struct *current_set[NR_CPUS]; extern struct task_struct *current_set[NR_CPUS];
extern int init_bootmem_done;
/* /*
* this tells the system to map all of ram with the segregs * this tells the system to map all of ram with the segregs
* (i.e. page tables) instead of the bats. * (i.e. page tables) instead of the bats.

Просмотреть файл

@ -190,6 +190,7 @@ extern struct task_struct *_switch(struct thread_struct *prev,
extern unsigned int rtas_data; extern unsigned int rtas_data;
extern int mem_init_done; /* set on boot once kmalloc can be called */ extern int mem_init_done; /* set on boot once kmalloc can be called */
extern int init_bootmem_done; /* set on !NUMA once bootmem is available */
extern unsigned long memory_limit; extern unsigned long memory_limit;
extern unsigned long klimit; extern unsigned long klimit;