David S. Miller
6524036a1e
sparc: Move core of OF device tree building code into prom_common.c
...
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 18:15:03 -08:00
David S. Miller
7d9439d50b
sparc: Move create_node() and friends into prom_common.c
...
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:09:10 -08:00
David S. Miller
b9e5567cda
sparc: Move property building code into prom_common.c
...
Unfortunately there is some sparc32/sparc64 ifdef'ery in
here due to the difference in how the prom_firstprop()
and prom_nextprop() routines work.
This will be eliminated eventually.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:04:22 -08:00
David S. Miller
e5ff0fe31d
sparc: Move 'unique_id' into prom_common.c and rename to 'prom_unique_id'
...
This will be used in a subsequent changeset.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:03:30 -08:00
David S. Miller
5fce09c6f6
sparc: Move irq_trans_init() and support code into seperate file.
...
All sparc64 specific, so only build this file on sparc64.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:02:32 -08:00
David S. Miller
efeac2f876
sparc: Mark prom_early_alloc non-static.
...
A subsequent changeset will use this.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 17:01:27 -08:00
David S. Miller
657f201df6
sparc: Create common header file for prom_{32,64}.c
...
This is where common declarations will go as we unify
these files as much as possible into common code.
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-05 16:44:29 -08:00