summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-12 17:50:42 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-07 20:50:48 +0000
commit796e23bebefdda89a9023453e357b3549bea57d8 (patch)
tree9d867395c4f8a4cb6a191444ad58a22731587fbe /arch/mips
parent1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 (diff)
ARM: Defer lookup of machine_type to setup.c
Since the debug macros no longer depend on the machine type information, the machine type lookup can be deferred to setup_arch() in setup.c which simplifies the code somewhat. We also move the __error_a functionality into setup.c for displaying a message when a bad machine ID is passed to the kernel via the LL debug code. We also log this into the kernel ring buffer which makes it possible to retrieve the message via a debugger. Original idea from Grant Likely. Acked-by: Grant Likely <grant.likely@secretlab.ca> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions