aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2012-10-28 11:13:16 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-14 21:00:26 -0500
commit84295dfc5989aaeb6e7d4a9df235451194a54bba (patch)
treec794af3293ee8dd5d126b58d61e8d49969247c35 /arch
parent6c7a2856ade6a58c20038024247d16a12a8d2323 (diff)
powerpc/ptrace: Fix spelling mistake
s/intruction/instruction/ Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/ptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index 140238aad71..7dd32d17c46 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -1037,7 +1037,7 @@ void ptrace_disable(struct task_struct *child)
1037} 1037}
1038 1038
1039#ifdef CONFIG_PPC_ADV_DEBUG_REGS 1039#ifdef CONFIG_PPC_ADV_DEBUG_REGS
1040static long set_intruction_bp(struct task_struct *child, 1040static long set_instruction_bp(struct task_struct *child,
1041 struct ppc_hw_breakpoint *bp_info) 1041 struct ppc_hw_breakpoint *bp_info)
1042{ 1042{
1043 int slot; 1043 int slot;
@@ -1371,7 +1371,7 @@ static long ppc_set_hwdebug(struct task_struct *child,
1371 if ((bp_info->trigger_type != PPC_BREAKPOINT_TRIGGER_EXECUTE) || 1371 if ((bp_info->trigger_type != PPC_BREAKPOINT_TRIGGER_EXECUTE) ||
1372 (bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE)) 1372 (bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE))
1373 return -EINVAL; 1373 return -EINVAL;
1374 return set_intruction_bp(child, bp_info); 1374 return set_instruction_bp(child, bp_info);
1375 } 1375 }
1376 if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_EXACT) 1376 if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_EXACT)
1377 return set_dac(child, bp_info); 1377 return set_dac(child, bp_info);