summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-05-27 06:46:14 +0200
committerDavid S. Miller <davem@davemloft.net>2009-06-16 13:56:16 +0200
commit9bab54143ca16592536c9d35f43cfac0a2a28ea8 (patch)
tree35f1f8a148bb4f9a11036b19ea77e87191773263 /arch/sparc/include
parentsparc64: Use BUILD_BUG_ON() in trap_init(). (diff)
downloadlinux-9bab54143ca16592536c9d35f43cfac0a2a28ea8.tar.xz
linux-9bab54143ca16592536c9d35f43cfac0a2a28ea8.zip
sparc64: Refactor OBP cpu scanning code using an iterator.
With feedback from Sam Ravnborg. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/prom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h
index 900d44714f8d..1b15212563cd 100644
--- a/arch/sparc/include/asm/prom.h
+++ b/arch/sparc/include/asm/prom.h
@@ -86,6 +86,7 @@ extern int of_node_to_nid(struct device_node *dp);
#endif
extern void prom_build_devicetree(void);
+extern void of_populate_present_mask(void);
/* Dummy ref counting routines - to be implemented later */
static inline struct device_node *of_node_get(struct device_node *node)