diff options
author | David S. Miller | 2018-09-13 07:22:42 +0200 |
---|---|---|
committer | David S. Miller | 2018-09-13 07:22:42 +0200 |
commit | aaf9253025e80cf8f62d7b33670e84e838eec5a3 (patch) | |
tree | f13b307c8407cc05ff803c4d7f6a0967d85ce3ec /scripts/recordmcount.pl | |
parent | docs: net: Remove TCP congestion document (diff) | |
parent | Merge tag 'drm-fixes-2018-09-12' of git://anongit.freedesktop.org/drm/drm (diff) | |
download | kernel-qcow2-linux-aaf9253025e80cf8f62d7b33670e84e838eec5a3.tar.gz kernel-qcow2-linux-aaf9253025e80cf8f62d7b33670e84e838eec5a3.tar.xz kernel-qcow2-linux-aaf9253025e80cf8f62d7b33670e84e838eec5a3.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'scripts/recordmcount.pl')
-rwxr-xr-x | scripts/recordmcount.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index fe06e77c15eb..f599031260d5 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -389,6 +389,9 @@ if ($arch eq "x86_64") { $mcount_regex = "^\\s*([0-9a-fA-F]+):\\sR_RISCV_CALL\\s_mcount\$"; $type = ".quad"; $alignment = 2; +} elsif ($arch eq "nds32") { + $mcount_regex = "^\\s*([0-9a-fA-F]+):\\s*R_NDS32_HI20_RELA\\s+_mcount\$"; + $alignment = 2; } else { die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD"; } |