[POWERPC] Move declaration of tce variables into mmu-hash64.h
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 8 May 2008 04:27:08 +0000 (14:27 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 May 2008 12:31:47 +0000 (22:31 +1000)
... 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>
arch/powerpc/mm/hash_utils_64.c
include/asm-powerpc/mmu-hash64.h

index 1a4b4b36b0c6e66c64f87e0d930b1246c6b071f1..05f955f8df358e33ee8cb8bfb1bff44754a5f5e2 100644 (file)
@@ -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 */
index 0dff76776044dde1c5ced93d86079f875fb0a062..f35d1e164da8da552cac27e7d5fb59eb2d7f474e 100644 (file)
@@ -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