nios2: mm: do not invoke OOM killer on kernel fault OOM
authorLey Foon Tan <lftan@altera.com>
Mon, 16 Mar 2015 07:35:25 +0000 (15:35 +0800)
committerLey Foon Tan <lftan@altera.com>
Mon, 16 Mar 2015 07:35:25 +0000 (15:35 +0800)
Follow commit 871341023c771ad.

Kernel faults are expected to handle OOM conditions gracefully (gup,
uaccess etc.), so they should never invoke the OOM killer.  Reserve
this for faults triggered in user context when it is the only option.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/mm/fault.c

Simple merge