READ THIS: the next mach-types update

Russell King - ARM Linux linux at
Thu Sep 15 15:11:34 EDT 2011

On Thu, Sep 15, 2011 at 05:26:02PM +0200, Arnd Bergmann wrote:
> On Thursday 15 September 2011, Russell King - ARM Linux wrote:
> > Moreover, entries older than 12 months which have not been merged will
> > be removed.  It is not possible to automatically check for machine_is_xxx()
> > usages as these could conflict with other architectures, and I'm
> > certainly NOT checking for them by hand (I estimate that'd take a
> > significant amount of manual effort to do.)  What that means is that it
> > is important to get the core platform support in first before any
> > drivers which may make use of this.
> Hi Russell,
> I've just tried checking the machine_is_xxx() values in the kernel for
> the list you posted and found just two that are actually being used:
> arch/arm/mach-orion5x/ts209-setup.c:    if (machine_is_ts_x09())
> arch/arm/mach-kirkwood/sheevaplug-setup.c:      if (machine_is_sheeva_esata())
> Would it be possible to just fix these to use the correct form instead,
> along with the respective mach-types change?

That would of course be the preferred way, but I need to know which
way they're supposed to be - the current disagreement in the names
doesn't suggest which is the right one.

More information about the linux-arm-kernel mailing list