projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
livepatch: Use the default ftrace_ops instead of REGS when ARGS is available
[linux-2.6-microblaze.git]
/
arch
/
x86
/
include
/
asm
/
ftrace.h
diff --git
a/arch/x86/include/asm/ftrace.h
b/arch/x86/include/asm/ftrace.h
index
e00fe88
..
9f3130f
100644
(file)
--- a/
arch/x86/include/asm/ftrace.h
+++ b/
arch/x86/include/asm/ftrace.h
@@
-54,6
+54,9
@@
arch_ftrace_get_regs(struct ftrace_regs *fregs)
return NULL;
return &fregs->regs;
}
+
+#define ftrace_instruction_pointer_set(fregs, _ip) \
+ do { (fregs)->regs.ip = (_ip); } while (0)
#endif
#ifdef CONFIG_DYNAMIC_FTRACE