commit | b2c860c6dc5078c710b34a0dec9d6514cf390a85 | [log] [tgz] |
---|---|---|
author | Lukas Auer <lukas.auer@aisec.fraunhofer.de> | Thu Nov 22 11:26:17 2018 +0100 |
committer | Andes <uboot@andestech.com> | Mon Nov 26 13:57:29 2018 +0800 |
tree | 40740c92dd528ba7d4ed9633bd1c8c0bc8cee96e | |
parent | 776e6335bf425f6b3cad01a25935dd2b7d4f40b7 [diff] |
riscv: fix use of incorrectly sized variables The RISC-V arch incorrectly uses 32-bit instead of 64-bit variables in several places. Fix this. In addition, BITS_PER_LONG is set to 64 on RV64I systems. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>