diff options
author | 2022-07-19 23:44:32 +0200 | |
---|---|---|
committer | 2022-08-31 05:17:43 -0700 | |
commit | a30d551f34df66d739949a6140b50496afa36f66 (patch) | |
tree | a2ca04a346e3e6f3d74ead0636f24bbab554e48c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.0-rc1 (diff) | |
download | linux-dev-a30d551f34df66d739949a6140b50496afa36f66.tar.xz linux-dev-a30d551f34df66d739949a6140b50496afa36f66.zip |
tools/nolibc: make argc 32-bit in riscv startup code
The "ld a0, 0(sp)" instruction doesn't build on RISCV32 because that
would load a 64-bit value into a 32-bit register. But argc 32-bit,
not 64, so we ought to use "lw" here. Tested on both RISCV32 and
RISCV64.
Cc: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions