projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da929f6
)
powerpc/mm: The 8xx doesn't call do_page_fault() for breakpoints
author
Christophe Leroy
<christophe.leroy@c-s.fr>
Wed, 19 Apr 2017 12:56:32 +0000
(14:56 +0200)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 2 Jun 2017 09:20:12 +0000
(19:20 +1000)
The 8xx has a dedicated exception for breakpoints, that directly
calls do_break()
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/fault.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/fault.c
b/arch/powerpc/mm/fault.c
index ab962212069648a920876c6ddce1061d4f8bd474..4c422632047bae05984eb7a44f80fba5a3f134d0 100644
(file)
--- a/
arch/powerpc/mm/fault.c
+++ b/
arch/powerpc/mm/fault.c
@@
-254,7
+254,7
@@
int do_page_fault(struct pt_regs *regs, unsigned long address,
}
#if !(defined(CONFIG_4xx) || defined(CONFIG_BOOKE) || \
-
defined(CONFIG_PPC_BOOK3S_64
))
+
defined(CONFIG_PPC_BOOK3S_64) || defined(CONFIG_PPC_8xx
))
if (error_code & DSISR_DABRMATCH) {
/* breakpoint match */
do_break(regs, address, error_code);