diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-06-13 00:52:56 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-14 08:30:16 -0400 |
commit | 8e561e7eda02819c711a75b64a000bf34948cdbb (patch) | |
tree | ecbb09ccf6095006bb2d98172c0bac33c78e598d /arch/powerpc/mm/mmu_decl.h | |
parent | 9c709f3b62ee8ee0dfadf358e361802cab7eea7a (diff) |
[POWERPC] Kill typedef-ed structs for hash PTEs and BATs
Using typedefs to rename structure types if frowned on by CodingStyle.
However, we do so for the hash PTE structure on both ppc32 (where it's
called "PTE") and ppc64 (where it's called "hpte_t"). On ppc32 we
also have such a typedef for the BATs ("BAT").
This removes this unhelpful use of typedefs, in the process
bringing ppc32 and ppc64 closer together, by using the name "struct
hash_pte" in both cases.
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h index 69cd1c617cdc..c94a64fd3c01 100644 --- a/arch/powerpc/mm/mmu_decl.h +++ b/arch/powerpc/mm/mmu_decl.h | |||
@@ -39,8 +39,8 @@ extern int __map_without_bats; | |||
39 | extern unsigned long ioremap_base; | 39 | extern unsigned long ioremap_base; |
40 | extern unsigned int rtas_data, rtas_size; | 40 | extern unsigned int rtas_data, rtas_size; |
41 | 41 | ||
42 | struct _PTE; | 42 | struct hash_pte; |
43 | extern struct _PTE *Hash, *Hash_end; | 43 | extern struct hash_pte *Hash, *Hash_end; |
44 | extern unsigned long Hash_size, Hash_mask; | 44 | extern unsigned long Hash_size, Hash_mask; |
45 | 45 | ||
46 | extern unsigned int num_tlbcam_entries; | 46 | extern unsigned int num_tlbcam_entries; |