[PATCH v2] Consolidate mm_context_t definition in mmu.h
Josh Boyer
jwboyer at linux.vnet.ibm.com
Wed Jul 11 12:22:34 EST 2007
On Wed, Jul 11, 2007 at 09:10:37AM +1000, Paul Mackerras wrote:
> Josh Boyer writes:
>
> > All of the platforms except PPC64 share a common mm_context_t definition.
> > Defining it in mmu.h avoids duplicating it in the platform specific mmu
> > header files. We further consolidate it by having the PPC32 definition
> > share the mm_context_id_t type for the id member.
>
> Unfortunately the string of ifdefs in your consolidated version makes
> my eyes water. I'm not sure it isn't better the way it is.
Eh, you're the maintainer. No worries.
Though realistically, I only added a single ifdef set in the structure. The
rest are all Ben's ;)
josh
More information about the Linuxppc-dev
mailing list