[PATCH,RFC] Split out common parts of prom.h

Kumar Gala galak at kernel.crashing.org
Fri Apr 13 02:13:47 EST 2007


On Apr 11, 2007, at 11:25 PM, David Miller wrote:

> From: Stephen Rothwell <sfr at canb.auug.org.au>
> Date: Thu, 12 Apr 2007 14:19:05 +1000
>
>> This applies on top of all the previous patches I sent (including  
>> a merge
>> of the sparc64 and powerpc for-2.6.22 trees).  So if people can't  
>> get it
>> to apply, at least I would like some comments on the direction. (I  
>> told
>> Rusty about the circular inclusion below and he didn't throw up, so I
>> figure it isn't too bad as a temporary measure.)
>>
>> I have built allmodconfig (modified slightly) for Powerpc, Sparc64  
>> and
>> Sparc.  (All of which fail during the module post processing but for
>> reasons not related to these patches as far as I can see.)
>
> This is one approach, and I'm not against it.
>
> Another way is to create a linux/openfw.h that does nothing
> but include asm/prom.h as step 1.  Step 2 is to convert all
> the include sites, and step 3 is to move the relevant
> prom.h bits into openfw.h
>
> To be honest, since you're the one doing all of the hard work I think
> you should be allowed to make the choice on how to go about this :-)

Should we drop prom.h all together.  I haven't looked but I would  
think OLPC would need (or use) some of this as well since its using OF.

- k



More information about the Linuxppc-dev mailing list