Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Michael Ellerman and committed by
Paul Mackerras
572fb578 09de9ff8

+1 -2
-2
arch/powerpc/mm/hash_utils_64.c
··· 509 509 unsigned long base = 0, size = 0, limit; 510 510 int i; 511 511 512 - extern unsigned long tce_alloc_start, tce_alloc_end; 513 - 514 512 DBG(" -> htab_initialize()\n"); 515 513 516 514 /* Initialize segment sizes */
+1
include/asm-powerpc/mmu-hash64.h
··· 181 181 extern int mmu_kernel_ssize; 182 182 extern int mmu_highuser_ssize; 183 183 extern u16 mmu_slb_size; 184 + extern unsigned long tce_alloc_start, tce_alloc_end; 184 185 185 186 /* 186 187 * If the processor supports 64k normal pages but not 64k cache