diff options
author | Christophe Leroy <[email protected]> | 2020-08-10 08:48:22 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2020-08-10 15:22:06 +0100 |
commit | 3df14264ad9930733a8166e5bd0eccc1727564bb (patch) | |
tree | db38b7b4703921d75f1e1ec53925c5163d01f746 /include/linux/fpga/fpga-mgr.h | |
parent | eaecca9e7710281be7c31d892c9f447eafd7ddd9 (diff) |
recordmcount: Fix build failure on non arm64
Commit ea0eada45632 leads to the following build failure on powerpc:
HOSTCC scripts/recordmcount
scripts/recordmcount.c: In function 'arm64_is_fake_mcount':
scripts/recordmcount.c:440: error: 'R_AARCH64_CALL26' undeclared (first use in this function)
scripts/recordmcount.c:440: error: (Each undeclared identifier is reported only once
scripts/recordmcount.c:440: error: for each function it appears in.)
make[2]: *** [scripts/recordmcount] Error 1
Make sure R_AARCH64_CALL26 is always defined.
Fixes: ea0eada45632 ("recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64.")
Signed-off-by: Christophe Leroy <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Acked-by: Gregory Herrero <[email protected]>
Cc: Gregory Herrero <[email protected]>
Link: https://lore.kernel.org/r/5ca1be21fa6ebf73203b45fd9aadd2bafb5e6b15.1597049145.git.christophe.leroy@csgroup.eu
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions