Commit bb6121b1 authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Steven Rostedt (VMware)
Browse files

ARC: Add instruction_pointer_set() API

parent eb4a3f7d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -149,6 +149,11 @@ static inline long regs_return_value(struct pt_regs *regs)
	return (long)regs->r0;
}

static inline void instruction_pointer_set(struct pt_regs *regs,
					   unsigned long val)
{
	instruction_pointer(regs) = val;
}
#endif /* !__ASSEMBLY__ */

#endif /* __ASM_PTRACE_H */