diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-04-30 06:06:25 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-02 12:04:29 +0200 |
commit | 57d7909e0d2dd54567ae775e22b14076b777042a (patch) | |
tree | 6f2e14e0bbb92ff138ae89468136668e58e60d1f /arch/powerpc/mm/mmu_decl.h | |
parent | [POWERPC] Uninline of_iomap function (diff) | |
download | linux-57d7909e0d2dd54567ae775e22b14076b777042a.tar.xz linux-57d7909e0d2dd54567ae775e22b14076b777042a.zip |
[POWERPC] Revise PPC44x MMU code for arch/powerpc
This patch takes the definitions for the PPC44x MMU (a software loaded
TLB) from asm-ppc/mmu.h, cleans them up of things no longer necessary
in arch/powerpc and puts them in a new asm-powerpc/mmu_44x.h file. It
also substantially simplifies arch/powerpc/mm/44x_mmu.c and makes a
couple of small fixes necessary for the 44x MMU code to build and work
properly in arch/powerpc.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/mmu_decl.h')
-rw-r--r-- | arch/powerpc/mm/mmu_decl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h index 9c4538bb04b0..2558c34eedaa 100644 --- a/arch/powerpc/mm/mmu_decl.h +++ b/arch/powerpc/mm/mmu_decl.h @@ -40,7 +40,8 @@ extern int __map_without_bats; extern unsigned long ioremap_base; extern unsigned int rtas_data, rtas_size; -extern PTE *Hash, *Hash_end; +struct _PTE; +extern struct _PTE *Hash, *Hash_end; extern unsigned long Hash_size, Hash_mask; extern unsigned int num_tlbcam_entries; |