Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 209182
b: refs/heads/master
c: 9605456
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Aug 13, 2010
1 parent c42b061 commit e308d5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 5528f9132cf65d4d892bcbc5684c61e7822b21e9
refs/heads/master: 96054569190bdec375fe824e48ca1f4e3b53dd36
4 changes: 3 additions & 1 deletion trunk/arch/x86/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,8 +802,10 @@ do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address,
up_read(&mm->mmap_sem);

/* Kernel mode? Handle exceptions or die: */
if (!(error_code & PF_USER))
if (!(error_code & PF_USER)) {
no_context(regs, error_code, address);
return;
}

/* User-space => ok to do another page fault: */
if (is_prefetch(regs, error_code, address))
Expand Down

0 comments on commit e308d5f

Please sign in to comment.