From: Catalin Marinas Date: Fri, 27 Jun 2008 14:15:12 +0000 (+0100) Subject: [ARM] 5131/1: Annotate platform_secondary_init with trace_hardirqs_off X-Git-Tag: MMI-PSA29.97-13-9~33838^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08383ef29faa7fa247962e6b8662c8683e34da01;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [ARM] 5131/1: Annotate platform_secondary_init with trace_hardirqs_off This patch annotates the platform_secondary_init function in arch/arm/mach-realview/platsmp.c with trace_hardirqs_off to avoid a warning when LOCKDEP and TRACE_IRQFLAGS are enabled. Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index 3e57428affee..8e813ed57519 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c @@ -74,6 +74,8 @@ static DEFINE_SPINLOCK(boot_lock); void __cpuinit platform_secondary_init(unsigned int cpu) { + trace_hardirqs_off(); + /* * the primary core may have used a "cross call" soft interrupt * to get this processor out of WFI in the BootMonitor - make