]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Fix the rv32i kernel build
authorPalmer Dabbelt <palmer@sifive.com>
Wed, 4 Jul 2018 21:12:53 +0000 (14:12 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Wed, 4 Jul 2018 21:12:53 +0000 (14:12 -0700)
commit9dd1f501a5ecbd9106aeabed8f6789980b7caa05
tree45d372671f9eb18c2c5a04969ee97d0ea235b1bb
parent3729864a4135dd5fbb3d4d72ac24e4165a394a17
parentc473f3b694fc20c436dd493fca56d13012e18d3c
RISC-V: Fix the rv32i kernel build

These patches for building 32-bit RISC-V kernel.
 - Fix the compile errors and warnings on RV32I.
 - Fix some incompatible problem on RV32I.
 - Add format.h for compatible of print format.

The fixed width integer types format for Elf_Addr will move to
generic header by another patch. For now, there are some warning
about unexpected argument of type on RV32I.

Change in v1:
 - Fix some error in v1
 - Remove implementation of fixed width integer types format for Elf_Addr.
arch/riscv/kernel/module.c