Searched refs:old_insn (Results 1 – 1 of 1) sorted by relevance
/arch/nds32/kernel/ |
D | ftrace.c | 140 static int __ftrace_modify_code(unsigned long pc, unsigned long *old_insn, in __ftrace_modify_code() argument 148 if (memcmp(orig_insn, old_insn, MCOUNT_INSN_SIZE)) in __ftrace_modify_code() 158 static int ftrace_modify_code(unsigned long pc, unsigned long *old_insn, in ftrace_modify_code() argument 163 ret = __ftrace_modify_code(pc, old_insn, new_insn, validate); in ftrace_modify_code() 175 unsigned long old_insn[3] = {INSN_NOP, INSN_NOP, INSN_NOP}; in ftrace_update_ftrace_func() local 181 return ftrace_modify_code(pc, old_insn, new_insn, false); in ftrace_update_ftrace_func()
|