[PATCH] powerpc/mm: Always use STRICT_MM_TYPECHECKS

Michael Ellerman mpe at ellerman.id.au
Thu Apr 28 15:27:31 AEST 2016


On Thu, 2016-04-21 at 11:56 +0200, Arnd Bergmann wrote:
> On Thursday 21 April 2016 13:37:59 Michael Ellerman wrote:
> > Testing done by Paul Mackerras has shown that with a modern compiler
> > there is no negative effect on code generation from enabling
> > STRICT_MM_TYPECHECKS.
> > 
> > So remove the option, and always use the strict type definitions.
> > 
> > Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> > 
> 
> I recently ran into the same thing on ARM and have checked the history
> on the symbol. It seems that some architectures cannot pass structures
> in registers as function arguments, but powerpc can, so it was never
> needed in the first place.

Thanks Arnd.

cheers



More information about the Linuxppc-dev mailing list