ANDROID: arm: fault: assume no context when IRQs are disabled during data abort.
authorJP Abgrall <jpa@google.com>
Mon, 29 Apr 2013 23:07:00 +0000 (16:07 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commit790dd7df4103c95630032e84dd98e37b18c961cd
tree43c7ad5fd6dc37a79694b3819fc878e5516aba1f
parent051badf20840f94a99f657035f34af1ebd96908a
ANDROID: arm: fault: assume no context when IRQs are disabled during data abort.

Bail out early if IRQs are disabled in do_page_fault or else
  [14415.157266] BUG: sleeping function called from invalid context at arch/arm/mm/fault.c:301

Russell King's idea from
  http://comments.gmane.org/gmane.linux.ports.arm.omap/59256

Signed-off-by: JP Abgrall <jpa@google.com>
arch/arm/mm/fault.c