Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200290
b: refs/heads/master
c: 5e27fb7
h: refs/heads/master
v: v3
  • Loading branch information
Anfei authored and Russell King committed Jun 8, 2010
1 parent 6e91959 commit a07edb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17ebba1fe4da4b5d62782be8743e0e8231812af9
refs/heads/master: 5e27fb78df95e027723af2c90ecc9b4527ae59e9
3 changes: 3 additions & 0 deletions trunk/arch/arm/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ do_translation_fault(unsigned long addr, unsigned int fsr,
if (addr < TASK_SIZE)
return do_page_fault(addr, fsr, regs);

if (user_mode(regs))
goto bad_area;

index = pgd_index(addr);

/*
Expand Down

0 comments on commit a07edb5

Please sign in to comment.