mirror of https://gitee.com/openkylin/linux.git
[POWERPC] Move declaration of tce variables into mmu-hash64.h
... instead of having extern declarations 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:
parent
09de9ff872
commit
572fb578de
|
@ -509,8 +509,6 @@ void __init htab_initialize(void)
|
|||
unsigned long base = 0, size = 0, limit;
|
||||
int i;
|
||||
|
||||
extern unsigned long tce_alloc_start, tce_alloc_end;
|
||||
|
||||
DBG(" -> htab_initialize()\n");
|
||||
|
||||
/* Initialize segment sizes */
|
||||
|
|
|
@ -181,6 +181,7 @@ extern int mmu_io_psize;
|
|||
extern int mmu_kernel_ssize;
|
||||
extern int mmu_highuser_ssize;
|
||||
extern u16 mmu_slb_size;
|
||||
extern unsigned long tce_alloc_start, tce_alloc_end;
|
||||
|
||||
/*
|
||||
* If the processor supports 64k normal pages but not 64k cache
|
||||
|
|
Loading…
Reference in New Issue