diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-22 02:34:02 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-24 02:15:17 -0400 |
commit | 07f8e5f358a0b7240f1dad6b3819f2fd1103f159 (patch) | |
tree | 5976cc05de92f27a9cc12a3db31ced5311ac3769 /include | |
parent | 6d307724cb6a6b8466cad4fdf13d8a409bc2433f (diff) |
[SPARC64]: Convert cpu_find_by_*() interface to in-kernel PROM device tree.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc64/oplib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-sparc64/oplib.h b/include/asm-sparc64/oplib.h index dea3e73f0955..a68b0bb05958 100644 --- a/include/asm-sparc64/oplib.h +++ b/include/asm-sparc64/oplib.h | |||
@@ -323,8 +323,9 @@ extern int prom_pathtoinode(const char *path); | |||
323 | extern int prom_inst2pkg(int); | 323 | extern int prom_inst2pkg(int); |
324 | 324 | ||
325 | /* CPU probing helpers. */ | 325 | /* CPU probing helpers. */ |
326 | int cpu_find_by_instance(int instance, int *prom_node, int *mid); | 326 | struct device_node; |
327 | int cpu_find_by_mid(int mid, int *prom_node); | 327 | int cpu_find_by_instance(int instance, struct device_node **dev_node, int *mid); |
328 | int cpu_find_by_mid(int mid, struct device_node **prom_node); | ||
328 | 329 | ||
329 | /* Client interface level routines. */ | 330 | /* Client interface level routines. */ |
330 | extern void prom_set_trap_table(unsigned long tba); | 331 | extern void prom_set_trap_table(unsigned long tba); |