projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/ptrace: Fix brk.len used uninitialised
[deliverable/linux.git]
/
arch
/
powerpc
/
kernel
/
ptrace.c
diff --git
a/arch/powerpc/kernel/ptrace.c
b/arch/powerpc/kernel/ptrace.c
index 245c1b6a08589d216d3389308c565668b720b597..f9b30c68ba473a7f51607936da0e124507f40362 100644
(file)
--- a/
arch/powerpc/kernel/ptrace.c
+++ b/
arch/powerpc/kernel/ptrace.c
@@
-1428,6
+1428,7
@@
static long ppc_set_hwdebug(struct task_struct *child,
brk.address = bp_info->addr & ~7UL;
brk.type = HW_BRK_TYPE_TRANSLATE;
+ brk.len = 8;
if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_READ)
brk.type |= HW_BRK_TYPE_READ;
if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_WRITE)
This page took
0.116416 seconds
and
5
git commands to generate.