summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-12-12 08:32:11 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-12-16 11:04:24 +0100
commitb8b499c86be58cb309964fcab5b62ac4a240a878 (patch)
tree907431ddfd2cb9879694b3066dd7d8c7ff8ca326 /arch/arm/kernel
parentARM: 7600/1: include CONFIG_DEBUG_LL_INCLUDE rather than mach/debug-macro.S (diff)
downloadlinux-b8b499c86be58cb309964fcab5b62ac4a240a878.tar.xz
linux-b8b499c86be58cb309964fcab5b62ac4a240a878.zip
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>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
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;