summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/prom.h
Commit message (Collapse)AuthorAgeFilesLines
* of/promtree: make drivers/of/pdt.c no longer sparc-onlyAndres Salomon2010-10-101-6/+0
| | | | | | | | | | | Clean up pdt.c: - make build dependent upon config OF_PROMTREE - #ifdef out the sparc-specific stuff - create pdt-specific header Signed-off-by: Andres Salomon <dilinger@queued.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* of/sparc: move is_root_node() to of.hAndres Salomon2010-07-141-8/+0
| | | | | | | | | Rename is_root_node() to of_node_is_root() and make it available for all archs to use, as it's not PROM-specific. Signed-off-by: Andres Salomon <dilinger@queued.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* of/sparc: Remove sparc-local declaration of allnodes and devtree_lockGrant Likely2010-02-141-3/+0
| | | | | | | | | | | | | | Both allnodes and devtree_lock are defined in common code. The extern declaration should be in the common header too so that the compiler can type check. allnodes is already in of.h, but devtree_lock should be declared there too. This patch removes the SPARC declarations and uses decls in of.h instead. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michal Simek <monstr@monstr.eu> Acked-by: David S. Miller <davem@davemloft.net>
* sparc: Call OF and MD cpu scanning explicitly from paging_init()David S. Miller2009-06-161-1/+0
| | | | | | | We need to split up the cpu present mask setup from the cpu_data initialization, and this is a first step towards that. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Restore irq_trans_init() call in prom_create_node().David S. Miller2008-12-071-3/+0
| | | | | | | | | | This broke sparc64 in various ways. Add an empty dummy hook in sparc32's prom_32.c so that we can potentially handle things on that side similarly, and in particular avoid a prom_common.c ifdef :-) Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Move prom_build_devicetree() into prom_common.cDavid S. Miller2008-12-051-5/+3
| | | | | | | To make this work we provide a dummy nop implementation of of_fill_in_cpu_data() for sparc32. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Move core of OF device tree building code into prom_common.cDavid S. Miller2008-12-051-2/+15
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Move create_node() and friends into prom_common.cDavid S. Miller2008-12-051-1/+2
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Move property building code into prom_common.cDavid S. Miller2008-12-051-0/+2
| | | | | | | | | | 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>
* sparc: Move 'unique_id' into prom_common.c and rename to 'prom_unique_id'David S. Miller2008-12-051-0/+2
| | | | | | This will be used in a subsequent changeset. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Move irq_trans_init() and support code into seperate file.David S. Miller2008-12-051-0/+4
| | | | | | All sparc64 specific, so only build this file on sparc64. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Mark prom_early_alloc non-static.David S. Miller2008-12-051-0/+2
| | | | | | A subsequent changeset will use this. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Create common header file for prom_{32,64}.cDavid S. Miller2008-12-051-0/+10
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>
OpenPOWER on IntegriCloud