diff options
Diffstat (limited to 'arch/frv/mm/fault.c')
-rw-r--r-- | arch/frv/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/frv/mm/fault.c b/arch/frv/mm/fault.c index 8b3eb50c5105..3f12296c3688 100644 --- a/arch/frv/mm/fault.c +++ b/arch/frv/mm/fault.c | |||
@@ -78,7 +78,7 @@ asmlinkage void do_page_fault(int datammu, unsigned long esr0, unsigned long ear | |||
78 | * If we're in an interrupt or have no user | 78 | * If we're in an interrupt or have no user |
79 | * context, we must not take the fault.. | 79 | * context, we must not take the fault.. |
80 | */ | 80 | */ |
81 | if (in_interrupt() || !mm) | 81 | if (in_atomic() || !mm) |
82 | goto no_context; | 82 | goto no_context; |
83 | 83 | ||
84 | down_read(&mm->mmap_sem); | 84 | down_read(&mm->mmap_sem); |