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: v2.6.26-rc9~74^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=08383ef29faa7fa247962e6b8662c8683e34da01;p=linux-2.6-omap-h63xx.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 3e57428affe..8e813ed5751 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