[PATCH] fix prom_init undefined error
Geoff Levand
geoffrey.levand at am.sony.com
Thu Feb 9 14:08:48 EST 2006
Benjamin Herrenschmidt wrote:
> On Tue, 2006-02-07 at 15:10 -0800, Geoff Levand wrote:
>
>>Paul,
>>
>>This patch fixes a build error when CONFIG_PPC_OF=n,
>>CONFIG_PPC_MULTIPLATFORM=y. It makes the conditionals
>>consistent in arch/powerpc/kernel/Makefile and head_64.S
>>to both be on CONFIG_PPC_OF.
>>
>> arch/powerpc/kernel/head_64.o: In function `.__boot_from_prom':
>> linux/arch/powerpc/kernel/head_64.S:(.text+0x8158): undefined
>
> reference to `.prom_init'
>
>>obj-$(CONFIG_PPC_OF) += prom_init.o
>
>
> With ARCH=powerpc, CONFIG_PPC_OF should always be set. It's supposed to
> be set when the device-tree accessors exist which they always do.
OK, that makes things clear.
> Besides, I'll be removing support for !MULTIPLATFORM too :) (Except for
> iSeries at least for a little while). Look at the patch I posted that
> removes _machine for an idea of where things are going.
I'll try and rework things when you get rid of MULTIPLATFORM. When can
we expect it?
-Geoff
More information about the Linuxppc64-dev
mailing list