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)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:25 +0000 (14:16 -0700)
commit50bf9d6b0c5e99b9c16a6014d44cf7f53dfbce37
treeaf5e2ed00b360e618f0c48425a1a81c280518f1f
parent790fbc3116da207b2131446200ee7208d60388c0
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