diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-06-27 15:15:12 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-06-30 19:08:53 +0100 |
commit | 08383ef29faa7fa247962e6b8662c8683e34da01 (patch) | |
tree | 94eb4e902f21fb3f85a7706f302a584a53d36abc /arch/arm/mach-realview | |
parent | 9e6c29768fc05d32ba1342b9348957b24bc476c2 (diff) | |
download | kernel_samsung_crespo-08383ef29faa7fa247962e6b8662c8683e34da01.zip kernel_samsung_crespo-08383ef29faa7fa247962e6b8662c8683e34da01.tar.gz kernel_samsung_crespo-08383ef29faa7fa247962e6b8662c8683e34da01.tar.bz2 |
[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 <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/platsmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index 3e57428..8e813ed 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 |