Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207157
b: refs/heads/master
c: 028c1f6
h: refs/heads/master
i:
  207155: df23887
v: v3
  • Loading branch information
Jesper Nilsson committed Aug 4, 2010
1 parent b23ee90 commit 306fc75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a90993c693ab7bd72bcb28b105e8dd4f0698f836
refs/heads/master: 028c1f6817c1ef49c61641dc1ae6c629e5bb32df
13 changes: 5 additions & 8 deletions trunk/arch/cris/mm/fault.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/*
* linux/arch/cris/mm/fault.c
*
* Copyright (C) 2000-2006 Axis Communications AB
*
* Authors: Bjorn Wesen
* arch/cris/mm/fault.c
*
* Copyright (C) 2000-2010 Axis Communications AB
*/

#include <linux/mm.h>
Expand Down Expand Up @@ -108,11 +105,11 @@ do_page_fault(unsigned long address, struct pt_regs *regs,
info.si_code = SEGV_MAPERR;

/*
* If we're in an interrupt or have no user
* context, we must not take the fault..
* If we're in an interrupt or "atomic" operation 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);
Expand Down

0 comments on commit 306fc75

Please sign in to comment.