]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Kill typedef-ed structs for hash PTEs and BATs
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 13 Jun 2007 04:52:56 +0000 (14:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:30:16 +0000 (22:30 +1000)
commit95ca8fb0087da27c0e9bf320744da06387f03ecd
treeecbb09ccf6095006bb2d98172c0bac33c78e598d
parentea2b545057b8454c298350007c3d420bbf2d9db6
[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>
arch/powerpc/mm/hash_native_64.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/ppc_mmu_32.c
arch/powerpc/platforms/iseries/call_hpt.h
arch/powerpc/platforms/iseries/htab.c
arch/powerpc/platforms/ps3/htab.c
include/asm-powerpc/mmu-hash32.h
include/asm-powerpc/mmu-hash64.h