Re: [PATCH 4/5] omap: mailbox: fix detection for previously supported chips

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

 



On Wed, Oct 27, 2010 at 10:28 AM, Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
> On Wed, Oct 27, 2010 at 8:06 AM, Varadarajan, Charulatha <charu@xxxxxx> wrote:
>>
>> Use cpu_is_* check only. No need to have #if CONFIG_ARCH_* checks.
>
> Some people conditionally compile only for one architecture, like in
> consumer devices. There's no point in wasting space for that.

And cpu_is_* calls become constants in such cases, allowing compiler
to optimize away unneeded 'if' blocks, not to mention cpu_is_* allows
multi-omap support. cpu_is_* is the way to go.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux