[PATCH] powerpc/mm: Always use STRICT_MM_TYPECHECKS

Arnd Bergmann arnd at arndb.de
Thu Apr 21 19:56:21 AEST 2016


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.

	Arnd


More information about the Linuxppc-dev mailing list