From: Alexander Shiyan Date: Wed, 12 Dec 2012 07:32:11 +0000 (+0100) Subject: ARM: 7602/1: Pass real "__machine_arch_type" variable to setup_machine_tags() procedure X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b8b499c86be58cb309964fcab5b62ac4a240a878;p=linux-beck.git 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 Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 9a89bf4aefe1..3f6cbb2e3eda 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -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;