X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=arch%2Fcris%2Fmm%2Ffault.c;h=c73e91f1299a773ec8964f512f169429e16b6175;hb=6edaf68a87d17570790fd55f0c451a29ec1d6703;hp=934c51078ccee4bafca2b68b7752b1745a63ee03;hpb=6e346228c76506e07e297744a28464022c6806ad;p=powerpc.git diff --git a/arch/cris/mm/fault.c b/arch/cris/mm/fault.c index 934c51078c..c73e91f129 100644 --- a/arch/cris/mm/fault.c +++ b/arch/cris/mm/fault.c @@ -232,7 +232,7 @@ do_page_fault(unsigned long address, struct pt_regs *regs, * context, we must not take the fault.. */ - if (in_interrupt() || !mm) + if (in_atomic() || !mm) goto no_context; down_read(&mm->mmap_sem);