diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-05-08 00:27:08 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-14 08:31:47 -0400 |
commit | 572fb578de59efaaa8d197b0183db43b1128a06e (patch) | |
tree | 9f0d07578b450efbdae7946114c07da17af5c7d0 | |
parent | 09de9ff872bca25ba717a7075c9ee49b1bdb56d2 (diff) |
[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>
-rw-r--r-- | arch/powerpc/mm/hash_utils_64.c | 2 | ||||
-rw-r--r-- | include/asm-powerpc/mmu-hash64.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 1a4b4b36b0c6..05f955f8df35 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c | |||
@@ -509,8 +509,6 @@ void __init htab_initialize(void) | |||
509 | unsigned long base = 0, size = 0, limit; | 509 | unsigned long base = 0, size = 0, limit; |
510 | int i; | 510 | int i; |
511 | 511 | ||
512 | extern unsigned long tce_alloc_start, tce_alloc_end; | ||
513 | |||
514 | DBG(" -> htab_initialize()\n"); | 512 | DBG(" -> htab_initialize()\n"); |
515 | 513 | ||
516 | /* Initialize segment sizes */ | 514 | /* Initialize segment sizes */ |
diff --git a/include/asm-powerpc/mmu-hash64.h b/include/asm-powerpc/mmu-hash64.h index 0dff76776044..f35d1e164da8 100644 --- a/include/asm-powerpc/mmu-hash64.h +++ b/include/asm-powerpc/mmu-hash64.h | |||
@@ -181,6 +181,7 @@ extern int mmu_io_psize; | |||
181 | extern int mmu_kernel_ssize; | 181 | extern int mmu_kernel_ssize; |
182 | extern int mmu_highuser_ssize; | 182 | extern int mmu_highuser_ssize; |
183 | extern u16 mmu_slb_size; | 183 | extern u16 mmu_slb_size; |
184 | extern unsigned long tce_alloc_start, tce_alloc_end; | ||
184 | 185 | ||
185 | /* | 186 | /* |
186 | * If the processor supports 64k normal pages but not 64k cache | 187 | * If the processor supports 64k normal pages but not 64k cache |