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
arm64: ftrace: use function_nocfi for _mcount as well
[linux-2.6-microblaze.git]
/
arch
/
arm64
/
include
/
asm
/
ftrace.h
diff --git
a/arch/arm64/include/asm/ftrace.h
b/arch/arm64/include/asm/ftrace.h
index
91fa4ba
..
347b0cc
100644
(file)
--- a/
arch/arm64/include/asm/ftrace.h
+++ b/
arch/arm64/include/asm/ftrace.h
@@
-15,7
+15,7
@@
#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS
#define ARCH_SUPPORTS_FTRACE_OPS 1
#else
-#define MCOUNT_ADDR ((unsigned long)
_mcount
)
+#define MCOUNT_ADDR ((unsigned long)
function_nocfi(_mcount)
)
#endif
/* The BL at the callsite's adjusted rec->ip */