diff options
author | Michael Neuling <mikey@neuling.org> | 2012-10-28 11:13:16 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-11-14 21:00:26 -0500 |
commit | 84295dfc5989aaeb6e7d4a9df235451194a54bba (patch) | |
tree | c794af3293ee8dd5d126b58d61e8d49969247c35 /arch/powerpc | |
parent | 6c7a2856ade6a58c20038024247d16a12a8d2323 (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/powerpc')
-rw-r--r-- | arch/powerpc/kernel/ptrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index 140238aad718..7dd32d17c462 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 |
1040 | static long set_intruction_bp(struct task_struct *child, | 1040 | static 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); |