Re: [PATCH] powerpc: Make 256k pages depend on PPC32=n

From: Scott Wood
Date: Tue Aug 19 2014 - 18:31:00 EST


On Tue, 2014-08-19 at 18:23 -0400, Pranith Kumar wrote:
> On Tue, Aug 19, 2014 at 6:19 PM, Scott Wood <scottwood@xxxxxxxxxxxxx> wrote:
>
> >> config PPC_256K_PAGES
> >> bool "256k page size" if 44x
> >> - depends on !STDBINUTILS
> >> + depends on !PPC32 && !STDBINUTILS
> >> help
> >> Make the page size 256k.
> >>
> >
> > How will this ever be selected then? 44x is 32-bit only.
>
> Indeed. I am actually confused about the error which is being thrown
> here. The operand (65536) is actually within the range. Any suggestions
> on how to fix this?

It's not within range of "li". I wonder if whatever non-"STD" binutils
this is supposed to be used with is rewriting it into an lis
instruction. This sort of external dependency is a poor fit for the
randconfig concept (plus, shouldn't the symbol be indicating what
binutils you're supposed to have rather than anything that isn't
"standard"?).

In any case, you could use something like LOAD_REG_IMMEDIATE().

-Scott


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/