]> err.no Git - linux-2.6/commit
[ARM] pxa: Make cpu_is_pxaXXX dependent on configuration symbols
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 1 Oct 2007 15:22:24 +0000 (16:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Oct 2007 17:53:45 +0000 (18:53 +0100)
commit36d8b17b4364915615aff312ba20a1b90e22b963
tree4dd7275b0384522a3e3cb919731c7d058ad46468
parent2c8086a5d073e8e72122a5b84febde236a39845b
[ARM] pxa: Make cpu_is_pxaXXX dependent on configuration symbols

Make the cpu_is_pxaXXX() macros define to zero when support for a
particular CPU is disabled.  This allows us to eliminate code for
CPUs which aren't enabled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/hardware.h