OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
ab96221
..
4c42263
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);