]> err.no Git - linux-2.6/commit
[ARM] ARMv6: add CPU_HAS_ASID configuration
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 17 May 2007 09:19:23 +0000 (10:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 May 2007 09:19:23 +0000 (10:19 +0100)
commit516793c61b3db1f60e0b0d0e3c382bcca9ae84fd
tree1e9a0b8e01ecac7c60c5d0f6b157181ab1132467
parentc6af66b9fe93990c70aaee53ce3ce7e53a83676a
[ARM] ARMv6: add CPU_HAS_ASID configuration

Presently, we check for the minimum ARM architecture that we're
building for to determine whether we need ASID support.  This is
wrong - if we're going to support a range of CPUs which include
ARMv6 or higher, we need the ASID.

Convert the checks to use a new configuration symbol, and arrange
for ARMv6 and higher CPU entries to select it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/asm-offsets.c
arch/arm/mm/Kconfig
include/asm-arm/mmu.h
include/asm-arm/mmu_context.h