Thread (3 messages) flat view 3 messages, 2 authors, 2007-07-11

Re: [PATCH v2] Consolidate mm_context_t definition in mmu.h

From: Josh Boyer <hidden>
Date: 2007-07-11 02:11:20

On Wed, Jul 11, 2007 at 09:10:37AM +1000, Paul Mackerras wrote:
Josh Boyer writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help