projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: 6166/1: Proper prefetch abort handling on pre-ARMv6
[deliverable/linux.git]
/
arch
/
arm
/
mm
/
fault.c
diff --git
a/arch/arm/mm/fault.c
b/arch/arm/mm/fault.c
index 92f5801f99c1d09c735fb586c9c44bc5df802f13..cbfb2edcf7d12a3a1cae18f04c041d94dc055bcc 100644
(file)
--- a/
arch/arm/mm/fault.c
+++ b/
arch/arm/mm/fault.c
@@
-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);
/*
This page took
0.025276 seconds
and
5
git commands to generate.