projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
static_call: Add call depth tracking support
[linux-2.6-block.git]
/
arch
/
x86
/
kernel
/
static_call.c
diff --git
a/arch/x86/kernel/static_call.c
b/arch/x86/kernel/static_call.c
index 5d3844a98373e2008b68acab77788e7ae48c94b4..2ebc338980bcdfe5a276ac79fbbe2a90ecc6815c 100644
(file)
--- a/
arch/x86/kernel/static_call.c
+++ b/
arch/x86/kernel/static_call.c
@@
-34,6
+34,7
@@
static void __ref __static_call_transform(void *insn, enum insn_type type,
switch (type) {
case CALL:
+ func = callthunks_translate_call_dest(func);
code = text_gen_insn(CALL_INSN_OPCODE, insn, func);
if (func == &__static_call_return0) {
emulate = code;