Skip to content

Commit

Permalink
[POWERPC] Move declaration of tce variables into mmu-hash64.h
Browse files Browse the repository at this point in the history
... 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>
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed May 14, 2008
1 parent 09de9ff commit 572fb57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/mm/hash_utils_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions include/asm-powerpc/mmu-hash64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 572fb57

Please sign in to comment.