[ARM] Move read of processor ID out of lookup_processor_type()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 24 Feb 2006 21:04:56 +0000 (21:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Mar 2006 22:03:22 +0000 (22:03 +0000)
commit0f44ba1d1e67201c0c58af26eb441fa7014c89ec
treea6162e21b5ec6d96240b16e18d0e5f89c756c9a1
parentfb1c7762b9b1f3c53daf0e700e977d77a29bcf04
[ARM] Move read of processor ID out of lookup_processor_type()

Read the processor ID at boot, and save it in "processor_id" as we
did before.  Later, when we re-parse the CPU type in the setup.c code,
re-use the value stored in "processor_id".

This allows a cleaner work-around for noMMU devices without CP#15.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S
arch/arm/kernel/setup.c