summaryrefslogtreecommitdiffstats
path: root/arch/nds32/Kconfig
diff options
context:
space:
mode:
authorZong Li <zong@andestech.com>2018-08-15 04:45:59 +0200
committerGreentime Hu <greentime@andestech.com>2018-09-04 08:45:17 +0200
commita18082575c664847d36c6ca030b09ce8d93aec2f (patch)
tree96070f10fadd478d6f644d639b899d9bb9311650 /arch/nds32/Kconfig
parentnds32: Extract the checking and getting pointer to a macro (diff)
downloadlinux-a18082575c664847d36c6ca030b09ce8d93aec2f.tar.xz
linux-a18082575c664847d36c6ca030b09ce8d93aec2f.zip
nds32/ftrace: Support static function tracer
This patch support the static function tracer. On nds32 ABI, we need to always push return address to stack for __builtin_return_address can work correctly, otherwise, it will get the wrong value of $lp at leaf function. Signed-off-by: Zong Li <zong@andestech.com> Acked-by: Greentime Hu <greentime@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32/Kconfig')
-rw-r--r--arch/nds32/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig
index 1d4248fa55e9..853497fe4266 100644
--- a/arch/nds32/Kconfig
+++ b/arch/nds32/Kconfig
@@ -40,6 +40,7 @@ config NDS32
select NO_IOPORT_MAP
select RTC_LIB
select THREAD_INFO_IN_TASK
+ select HAVE_FUNCTION_TRACER
help
Andes(nds32) Linux support.