]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit8e561e7eda02819c711a75b64a000bf34948cdbb
treeecbb09ccf6095006bb2d98172c0bac33c78e598d
parent9c709f3b62ee8ee0dfadf358e361802cab7eea7a
[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