Re: 2.6.25: pmac_newworld undefined

From: Adrian Bunk
Date: Tue Apr 29 2008 - 15:46:12 EST


On Tue, Apr 29, 2008 at 09:17:53PM +0200, Sam Ravnborg wrote:
>...
> So something like:
>
> config PPC32_NVRAM
> bool
> depends on NVRAM
>
> obj-$(CONFIG_PPC32_NVRAM) += nvram.o
> obj-$(CONFIG_NVRAM) += nvram.o
>
> Or did you have another solution in mind?

I start to understand the problem, and I'm currently wondering why
powerpc uses CONFIG_NVRAM although the code CONFIG_NVRAM enables on
other platforms is not enabled on powerpc.

Can we rename it and move drivers/char/generic_nvram.c under
arch/powerpc/ ?

Can some powerpc person bring some background what's going on and why
it's this way?

> Sam

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
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/