diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2016-11-17 13:12:33 +0000 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2017-03-29 17:02:09 +0100 |
commit | 660f38b6a61ab655d65bf3370fe909c8ed0f6d2c (patch) | |
tree | 416cbe2bd3af67e3ca3e2ab58b284c27f0909377 /arch/arm64 | |
parent | 57d7ca934f47555ca45acbca1f07a4e72776a7a4 (diff) |
BUG HUNTING: Big pile of additional irqs_disabled() tests
Most of these do not trigger on rel10p0. Leads to the conclusion that
something came along and crapped over the PMR registers.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/mm/fault.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c index 156169c6981b..fda99f136f48 100644 --- a/arch/arm64/mm/fault.c +++ b/arch/arm64/mm/fault.c @@ -304,6 +304,8 @@ static int __kprobes do_page_fault(unsigned long addr, unsigned int esr, tsk = current; mm = tsk->mm; + BUG_ON(irqs_disabled()); + /* * If we're in an interrupt or have no user context, we must not take * the fault. |