]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ARM: pxa: fix cpu_is_pxa*() not expanding to zero when not configured
authorEric Miao <eric.miao@canonical.com>
Tue, 7 Sep 2010 07:10:14 +0000 (15:10 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Sat, 25 Sep 2010 01:47:03 +0000 (09:47 +0800)
commitcfc6a554d7a364997a43964b4b1290487f890447
treef9e780f3ec8b791f98085ee82832e11a1d0ba0a4
parent32c4dad8f872fadb0ae3caa15d26e73934982217
ARM: pxa: fix cpu_is_pxa*() not expanding to zero when not configured

When CONFIG_PXA3xx is not selected, cpu_is_pxa3xx() doesn't expand to
zero, which in some places doesn't result in correct optimization.

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Reported-and-tested-by: Marek Vasut <marek.vasut@gmail.com>
arch/arm/mach-pxa/include/mach/hardware.h