Re: [PATCH] arm: imx: remove MACH_MXLADS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Воскресенье, 16 февраля 2014, 19:43 +01:00 от Paul Bolle <pebolle@xxxxxxxxxx>:
> On Sun, 2014-02-16 at 22:16 +0400, Alexander Shiyan wrote:
> > Воскресенье, 16 февраля 2014, 19:03 +01:00 от Paul Bolle
> <pebolle@xxxxxxxxxx>:
> > > The Kconfig symbol MACH_MXLADS was added in v2.6.29. It has never been
> > > used. Setting it has no effect. There are no calls for
> > > machine_is_mxlads(). This symbol can safely be removed.
> > > 
> > > Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
> > 
> > This is used by mach-mx1ads.c
> 
> How is it used?

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.
Russel, Arnd, fixme.

---
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [CentOS ARM]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]     [Photos]