|
@@ -174,7 +174,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long fault_code,
|
|
* If we're in an interrupt or have no user
|
|
* If we're in an interrupt or have no user
|
|
* context, we must not take the fault..
|
|
* context, we must not take the fault..
|
|
*/
|
|
*/
|
|
- if (in_interrupt() || !mm)
|
|
|
|
|
|
+ if (in_atomic() || !mm)
|
|
goto no_context;
|
|
goto no_context;
|
|
|
|
|
|
down_read(&mm->mmap_sem);
|
|
down_read(&mm->mmap_sem);
|