git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MN10300: Change the fault handler to check in_atomic() not in_interrupt()
[pandora-kernel.git]
/
arch
/
mn10300
/
mm
/
fault.c
diff --git
a/arch/mn10300/mm/fault.c
b/arch/mn10300/mm/fault.c
index
78f092c
..
33cf250
100644
(file)
--- a/
arch/mn10300/mm/fault.c
+++ b/
arch/mn10300/mm/fault.c
@@
-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
* context, we must not take the fault..
*/
- if (in_
interrupt
() || !mm)
+ if (in_
atomic
() || !mm)
goto no_context;
down_read(&mm->mmap_sem);