diff options
Diffstat (limited to 'arch/sh64')
-rw-r--r-- | arch/sh64/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh64/mm/fault.c b/arch/sh64/mm/fault.c index 8e2f6c28b739..4f72ab33bb2b 100644 --- a/arch/sh64/mm/fault.c +++ b/arch/sh64/mm/fault.c | |||
@@ -154,7 +154,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long writeaccess, | |||
154 | * If we're in an interrupt or have no user | 154 | * If we're in an interrupt or have no user |
155 | * context, we must not take the fault.. | 155 | * context, we must not take the fault.. |
156 | */ | 156 | */ |
157 | if (in_interrupt() || !mm) | 157 | if (in_atomic() || !mm) |
158 | goto no_context; | 158 | goto no_context; |
159 | 159 | ||
160 | /* TLB misses upon some cache flushes get done under cli() */ | 160 | /* TLB misses upon some cache flushes get done under cli() */ |