commit | e429a1eee139cfd10de146e4048035172984a783 | [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 | 93478f105c3640be0dbcd2f859bf2168cb9e20c4 [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>