asm-ppc header issues when building ARCH=powerpc
Kumar Gala
galak at kernel.crashing.org
Thu Aug 23 14:16:03 EST 2007
On Aug 22, 2007, at 10:33 PM, David Gibson wrote:
> On Wed, Aug 22, 2007 at 10:33:55PM -0500, Kumar Gala wrote:
>>
>> On Aug 22, 2007, at 10:19 AM, Kumar Gala wrote:
>>
>>> Guys,
>>>
>>> I was wondering if I could get your help with looking at the
>>> following lists and determining if we have an issue or not related
>>> the following files:
>>>
>>> Getting some classification on these would be good. Possibly
>>> classifications, doesn't build in ARCH=powerpc, remove include, real
>>> issue, etc.
>>>
>>> - k
>>
>> My analysis of <asm/bootinfo.h> usage:
>>
>> ./drivers/macintosh/adb-iop.c:#include <asm/bootinfo.h> remove
>> ./drivers/char/vme_scc.c:#include <asm/bootinfo.h> 68k only
>> ./drivers/char/serial167.c:#include <asm/bootinfo.h> 68k only
>> ./drivers/serial/dz.c:#include <asm/bootinfo.h> decstation
>> ./drivers/mtd/devices/ms02-nv.c:#include <asm/bootinfo.h> decstation
>> ./drivers/net/macsonic.c:#include <asm/bootinfo.h> 68k
>> ./drivers/net/jazzsonic.c:#include <asm/bootinfo.h> mips
>> ./drivers/video/pmag-aa-fb.c:#include <asm/bootinfo.h> mips
>> ./drivers/video/maxinefb.c:#include <asm/bootinfo.h> mips
>> ./drivers/video/logo/logo.c:#include <asm/bootinfo.h> mips
>> ./drivers/video/macfb.c:#include <asm/bootinfo.h> 68k
>> ./drivers/video/valkyriefb.c:#include <asm/bootinfo.h> 68k
>
> Uh.. I'm pretty sure valkyriefb.c is for (old) PowerMacs, not 68k.
It appears to be both. If you look at the include its protected by a
#ifdef CONFIG_MAC which we is only defined on m68k.
- k
More information about the Linuxppc-dev
mailing list