: Commonization of OF device tree code.
cover : Commonization of OF device tree code.
This tries to split out as much common code from arch/sparc/kernel/prom_{32,64}.c as possible.
There is an ugly ifdef or two left in the new prom_common.c but that once I can fix at some point by rejigging the 32-bit prom_firstprop() et al. oplib interfaces.
All of this work has been build tested on both ports and pushed out to sparc-next-2.6 on kernel.org
Quoted 8 lines · David Miller
This tries to split out as much common code from
arch/sparc/kernel/prom_{32,64}.cas possible.There is an ugly ifdef or two left in the new
prom_common.cbut that once I can fix at some point by rejigging the 32-bitprom_firstprop()et al. oplib interfaces.
The diffstat looks good:
arch/sparc/include/asm/openprom_32.h | 6 arch/sparc/include/asm/oplib_32.h | 6 arch/sparc/kernel/Makefile | 2 arch/sparc/kernel/prom.h | 48 + arch/sparc/kernel/prom_32.c | 341 ---------- arch/sparc/kernel/prom_64.c | 1153 ----------------------------------- arch/sparc/kernel/prom_common.c | 356 ++++++++++ arch/sparc/kernel/prom_irqtrans.c | 844 +++++++++++++++++++++++++ arch/sparc/prom/tree_32.c | 8 9 files changed, 1275 insertions(+), 1489 deletions(-)
As for the individual patches I have only browsed them and nothing suspicious showed up.
Sam
Quoted 3 lines · David Miller
All of this work has been build tested on both ports and pushed out to sparc-next-2.6 on kernel.org
Boots fine on sparc32.
From: Robert Reif <[email protected]>
Date: Sat, 06 Dec 2008 11:33:43 -0500
Quoted 5 lines
Quoted 3 lines · David Miller
All of this work has been build tested on both ports and pushed out to sparc-next-2.6 on kernel.org
Boots fine on sparc32.
As always, thanks so much for your testing Robert.
Maybe we are getting better at not breaking sparc32 now :)
Quoted 5 lines · Robert Reif
Quoted 3 lines · David Miller
All of this work has been build tested on both ports and pushed out to sparc-next-2.6 on kernel.org
Boots fine on sparc32.
Thanks for all your testing effort Robert.
It is great you catch it so early so sparc32 does not bitrot in a non-bootable state.
I have an old patchset where all the final link of vmlinux is moved from the top-level Makefile to a shell script. When I did this I hit troubles with um and sparc32.
So when I put some effort back into that patchset I will most likely need your assistance again as I will need to fiddle with the btfixuf stuff.
But it will take a while..
Sam