[RFC PATCH] ARM: new architecture for Energy Micro's EFM32 Cortex-M3 SoCs

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Dec 21 14:56:02 EST 2011


On Wed, Dec 21, 2011 at 03:48:50PM +0000, Jamie Iles wrote:
> > +#define __io(a)			__typesafe_io(a)
> 
> Do you support io ports on this platform?  If not then perhaps select 
> NO_IPORT and define __io(a) to 0?

Do not do that.  Define NO_IOPORT and *do* *not* define __io() at all to
make drivers which use PCI IO stuff fail at build time.  Don't try to
frig it into doing a NULL pointer deref.



More information about the linux-arm-kernel mailing list