[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1392578464.996901773@f49.i.mail.ru>
Date: Sun, 16 Feb 2014 23:21:04 +0400
From: Alexander Shiyan <shc_work@...l.ru>
To: Paul Bolle <pebolle@...cali.nl>
Cc: Russell King <linux@....linux.org.uk>,
Richard Weinberger <richard@....at>,
linux-kernel@...r.kernel.org,
Sascha Hauer <kernel@...gutronix.de>,
Shawn Guo <shawn.guo@...aro.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] arm: imx: remove MACH_MXLADS
Воскресенье, 16 февраля 2014, 20:12 +01:00 от Paul Bolle <pebolle@...cali.nl>:
> On Sun, 2014-02-16 at 23:06 +0400, Alexander Shiyan wrote:
> > Kconfig selects MACH_MXLADS, this enables machine_arch_type
> > from include/generated/mach-types.h which used for machine_is_xx() macro,
> > so if multiple boards is defined in the kernel, this cause to incorrect
> matching.
>
> But, as I stated in the commit explanation, there are no users of
> machine_is_mxlads().
If you have MXLADS and FOO boards support in the kernel (for example)
and you want to start MXLADS version, your machine_is_FOO() will be positive,
since machine_arch_type will be constant value FOO in this case.
---
Powered by blists - more mailing lists