Machine ID question

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Feb 20 08:04:20 EST 2011


On Mon, Feb 14, 2011 at 04:12:16PM +0100, Alexander Stein wrote:
> On Thursday 10 February 2011, 09:29:15 Uwe Kleine-König wrote:
> > On Wed, Feb 09, 2011 at 02:23:07PM -0700, John Linn wrote:
> > > I used the form to create a new machine ID for the new Xilinx platform
> > > in anticipation of
> > > the code making it into the mainline sometime in the future.
> > > 
> > > The proposed patches are using ARCH_XILINX in the Kconfig.
> > 
> > You should use MACH_XILINX in the patches.  There are some ARCH_... in
> > the machine db, but I think nowadays you cannot (and should not) create
> > them there.
> 
> Uhm, the last entry in the db was created today (14th Feb). Is there a reason 
> why there no new entries should be created?

huh?

The machine registry hands out MACH_foo identifiers.  It used to hand
them out as ARCH_foo identifiers, but we decided that was misleading -
it's dealing with machines, not architectures.  So a MACH_ prefix is
more correct than an ARCH_ prefix.



More information about the linux-arm-kernel mailing list