diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2015-06-10 14:25:15 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-06-11 01:52:35 +0300 |
commit | 6fb18ac9366b74fadb2c1d0da88f143bfe87d001 (patch) | |
tree | 6bb202af2c84c7493c858d06f95286520e0007bb /arch/arm/mm/proc-v7-2level.S | |
parent | 90543ec8290b31b15fc9dd6de8e9c2b6347a9059 (diff) | |
download | linux-6fb18ac9366b74fadb2c1d0da88f143bfe87d001.tar.xz |
ARM: 8390/1: irqflags: Get arch_irqs_disabled from asm-generic
Commit cb1293e2f594 ("ARM: 8375/1: disable some options on ARMv7-M")
causes the build to on ARMv7-M machines:
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/sem.h:5:0,
from include/linux/sched.h:35,
from arch/arm/kernel/asm-offsets.c:14:
include/linux/rcupdate.h: In function 'rcu_read_lock_sched_held':
include/linux/rcupdate.h:539:2: error: implicit declaration of function
'arch_irqs_disabled' [-Werror=implicit-function-declaration]
return preempt_count() != 0 || irqs_disabled();
asm-generic/irqflags.h provides an implementation of arch_irqs_disabled().
Lets grab an implementation from there!
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/proc-v7-2level.S')
0 files changed, 0 insertions, 0 deletions