From: Linus Walleij Date: Fri, 6 May 2011 11:56:27 +0000 (+0100) Subject: ARM: 6895/1: mach-ux500: fix SMP secondary startup regression X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4d5336d50a7b4992c90729c27dae027a3426c48c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: 6895/1: mach-ux500: fix SMP secondary startup regression Commit e2a083dc0da9aa6437e14811198379b18cdfa7f8 "ARM: consolidate SMP cross call implementation" broke the ux500 compilation since the smp.h header declared a function called from headsmp.S. This fixes it up by declaring it locally instead. Signed-off-by: Linus Walleij Signed-off-by: Russell King --- diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 4e338466839e..0c527fe2cebb 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c @@ -23,6 +23,9 @@ #include #include +/* This is called from headsmp.S to wakeup the secondary core */ +extern void u8500_secondary_startup(void); + /* * control for which core is the next to come out of the secondary * boot "holding pen"