]> 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)
commit409b52b9cd120e80cbdf48060406b4066543f4d8
tree45d372671f9eb18c2c5a04969ee97d0ea235b1bb
parent39adefad16985bc233b17dac1f8f42503d2d100c
parentb0b74bc9591534e98b088b7eb5d534119371b6b4
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