diff options
author | Lukas Auer <lukas.auer@aisec.fraunhofer.de> | 2018-11-22 11:26:17 +0100 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2018-11-26 13:57:29 +0800 |
commit | b2c860c6dc5078c710b34a0dec9d6514cf390a85 (patch) | |
tree | 40740c92dd528ba7d4ed9633bd1c8c0bc8cee96e /arch/riscv/include/asm/config.h | |
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>
Diffstat (limited to 'arch/riscv/include/asm/config.h')
0 files changed, 0 insertions, 0 deletions