]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 5121/1: Annotate platform_secondary_init with trace_hardirqs_off
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 23 Jun 2008 15:32:14 +0000 (16:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Jul 2008 15:39:56 +0000 (16:39 +0100)
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 <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/platsmp.c

index 3e57428affeedac7f32b8fd883bb159810b63181..8e813ed575194d95af51fb326747e8cd86b975c8 100644 (file)
@@ -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