Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84295dfc authored by Michael Neuling's avatar Michael Neuling Committed by Benjamin Herrenschmidt
Browse files

powerpc/ptrace: Fix spelling mistake



s/intruction/instruction/

Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 6c7a2856
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1037,7 +1037,7 @@ void ptrace_disable(struct task_struct *child)
}
}


#ifdef CONFIG_PPC_ADV_DEBUG_REGS
#ifdef CONFIG_PPC_ADV_DEBUG_REGS
static long set_intruction_bp(struct task_struct *child,
static long set_instruction_bp(struct task_struct *child,
			      struct ppc_hw_breakpoint *bp_info)
			      struct ppc_hw_breakpoint *bp_info)
{
{
	int slot;
	int slot;
@@ -1371,7 +1371,7 @@ static long ppc_set_hwdebug(struct task_struct *child,
		if ((bp_info->trigger_type != PPC_BREAKPOINT_TRIGGER_EXECUTE) ||
		if ((bp_info->trigger_type != PPC_BREAKPOINT_TRIGGER_EXECUTE) ||
		    (bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE))
		    (bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE))
			return -EINVAL;
			return -EINVAL;
		return set_intruction_bp(child, bp_info);
		return set_instruction_bp(child, bp_info);
	}
	}
	if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_EXACT)
	if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_EXACT)
		return set_dac(child, bp_info);
		return set_dac(child, bp_info);