diff options
author | Marc Zyngier <Marc.Zyngier@arm.com> | 2011-05-23 18:16:59 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-23 18:19:26 +0200 |
commit | 603605abae9ee731bdafb2af83a487d98a568815 (patch) | |
tree | 61705d668a63316829ee4e0d0c07ab07e389fd41 /arch/arm/mach-tegra/platsmp.c | |
parent | ARM: 6902/1: perf: Remove erroneous check on active_events (diff) | |
download | linux-603605abae9ee731bdafb2af83a487d98a568815.tar.xz linux-603605abae9ee731bdafb2af83a487d98a568815.zip |
ARM: 6939/1: fix missing 'cpu_relax()' declaration
ARM build fails with the following symptom:
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/spinlock.h: In function 'spin_unlock_wait':
include/linux/spinlock.h:360: error: implicit declaration of function 'cpu_relax'
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
Fix it by including <asm/processor.h>.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-tegra/platsmp.c')
0 files changed, 0 insertions, 0 deletions