|
@@ -108,7 +108,7 @@ do_page_fault(unsigned long address, unsigned long mmcsr,
|
|
|
|
|
|
/* If we're in an interrupt context, or have no user context,
|
|
/* If we're in an interrupt context, or have no user context,
|
|
we must not take the fault. */
|
|
we must not take the fault. */
|
|
- if (!mm || in_interrupt())
|
|
|
|
|
|
+ if (!mm || in_atomic())
|
|
goto no_context;
|
|
goto no_context;
|
|
|
|
|
|
#ifdef CONFIG_ALPHA_LARGE_VMALLOC
|
|
#ifdef CONFIG_ALPHA_LARGE_VMALLOC
|