forked from Minki/linux
RISC-V: Use IS_ENABLED(CONFIG_CMODEL_MEDLOW)
IS_ENABLED should generally use CONFIG_ prefaced symbols and it doesn't appear as if there is a CMODEL_MEDLOW define. Signed-off-by: Joe Perches <joe@perches.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
This commit is contained in:
parent
ff0e2a7bd1
commit
da4ed37873
@ -141,7 +141,7 @@ static int apply_r_riscv_hi20_rela(struct module *me, u32 *location,
|
|||||||
{
|
{
|
||||||
s32 hi20;
|
s32 hi20;
|
||||||
|
|
||||||
if (IS_ENABLED(CMODEL_MEDLOW)) {
|
if (IS_ENABLED(CONFIG_CMODEL_MEDLOW)) {
|
||||||
pr_err(
|
pr_err(
|
||||||
"%s: target %016llx can not be addressed by the 32-bit offset from PC = %p\n",
|
"%s: target %016llx can not be addressed by the 32-bit offset from PC = %p\n",
|
||||||
me->name, (long long)v, location);
|
me->name, (long long)v, location);
|
||||||
|
Loading…
Reference in New Issue
Block a user