Re: [PATCH v2 3/4] RISC-V: Add definiion of extract symbol's index and type for 32-bit

From: Christoph Hellwig
Date: Fri Jun 29 2018 - 03:12:06 EST


On Mon, Jun 25, 2018 at 04:49:39PM +0800, Zong Li wrote:
> Use generic marco to get the index and type of symbol.

Why do we even need this in a uapi header? Shouldn't ELF_RISCV_R_SYM
and ELF_RISCV_R_TYPE move to module.c? In that case we could just
use CONFIG_64BIT.