Skip to contentSkip to conversation

: sparc: Mark prom_early_alloc non-static.

PATCH In review David Miller 1 participant 1 message Dec 6, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 4/14 : sparc: Mark prom_early_alloc non-static.

sparc: Mark prom_early_alloc non-static.

A subsequent changeset will use this.

---
 arch/sparc/kernel/prom.h    |    2 ++
 arch/sparc/kernel/prom_32.c |    2 +-
 arch/sparc/kernel/prom_64.c |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
arch/sparc/kernel/prom.h +2 -0
index dce53de..b7258ce 100644
@@ -7,4 +7,6 @@
 extern struct device_node *allnodes;	/* temporary while merging */
 extern rwlock_t devtree_lock;	/* temporary while merging */
 
+extern void * prom_early_alloc(unsigned long size);
+
 #endif /* __PROM_H */
arch/sparc/kernel/prom_32.c +1 -1
index e41df66..ba3c551 100644
@@ -29,7 +29,7 @@
 
 static unsigned int prom_early_allocated;
 
-static void * __init prom_early_alloc(unsigned long size)
+void * __init prom_early_alloc(unsigned long size)
 {
 	void *ret;
 
arch/sparc/kernel/prom_64.c +1 -1
index 1f5666a..1c7b9d7 100644
@@ -34,7 +34,7 @@
 
 static unsigned int prom_early_allocated __initdata;
 
-static void * __init prom_early_alloc(unsigned long size)
+void * __init prom_early_alloc(unsigned long size)
 {
 	unsigned long paddr = lmb_alloc(size, SMP_CACHE_BYTES);
 	void *ret;
Signature · 1 line
1.5.6.5