Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298842
b: refs/heads/master
c: b230ff2
h: refs/heads/master
v: v3
  • Loading branch information
Chris Metcalf committed Apr 2, 2012
1 parent 4a37da6 commit 786cfa6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 12400f1f22ad7651efa1d3d06dd8b6b178d19ea3
refs/heads/master: b230ff2d5c53bb79e1121554cd3c827e5c1b70fd
7 changes: 5 additions & 2 deletions trunk/arch/tile/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,12 @@ static int handle_page_fault(struct pt_regs *regs,
/*
* If we're trying to touch user-space addresses, we must
* be either at PL0, or else with interrupts enabled in the
* kernel, so either way we can re-enable interrupts here.
* kernel, so either way we can re-enable interrupts here
* unless we are doing atomic access to user space with
* interrupts disabled.
*/
local_irq_enable();
if (!(regs->flags & PT_FLAGS_DISABLE_IRQ))
local_irq_enable();

mm = tsk->mm;

Expand Down

0 comments on commit 786cfa6

Please sign in to comment.