dect
/
linux-2.6
Archived
13
0
Fork 0

ARM: 7602/1: Pass real "__machine_arch_type" variable to setup_machine_tags() procedure

This modification is needed to proper boot the custom machines with
the IDs that are not described in the mach-types.h table.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Alexander Shiyan 2012-12-12 08:32:11 +01:00 committed by Russell King
parent 4beba08ba1
commit b8b499c86b
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ void __init setup_arch(char **cmdline_p)
setup_processor();
mdesc = setup_machine_fdt(__atags_pointer);
if (!mdesc)
mdesc = setup_machine_tags(__atags_pointer, machine_arch_type);
mdesc = setup_machine_tags(__atags_pointer, __machine_arch_type);
machine_desc = mdesc;
machine_name = mdesc->name;