summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-05 00:40:43 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-05 17:01:27 -0800
commitefeac2f87609ab25dab329ce16876eb9110b2084 (patch)
treea98da28780d86cb6c36b9016d2f42a3c6189d448 /arch
parentdfa76060be85dd48d3803bc26f6a6d2e93e812f0 (diff)
downloadblackbird-op-linux-efeac2f87609ab25dab329ce16876eb9110b2084.tar.gz
blackbird-op-linux-efeac2f87609ab25dab329ce16876eb9110b2084.zip
sparc: Mark prom_early_alloc non-static.
A subsequent changeset will use this. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/prom.h2
-rw-r--r--arch/sparc/kernel/prom_32.c2
-rw-r--r--arch/sparc/kernel/prom_64.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/arch/sparc/kernel/prom.h b/arch/sparc/kernel/prom.h
index dce53de274e8..b7258ce87ccc 100644
--- a/arch/sparc/kernel/prom.h
+++ b/arch/sparc/kernel/prom.h
@@ -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 */
diff --git a/arch/sparc/kernel/prom_32.c b/arch/sparc/kernel/prom_32.c
index e41df66192e5..ba3c55186823 100644
--- a/arch/sparc/kernel/prom_32.c
+++ b/arch/sparc/kernel/prom_32.c
@@ -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;
diff --git a/arch/sparc/kernel/prom_64.c b/arch/sparc/kernel/prom_64.c
index 1f5666a94884..1c7b9d7b7889 100644
--- a/arch/sparc/kernel/prom_64.c
+++ b/arch/sparc/kernel/prom_64.c
@@ -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;
OpenPOWER on IntegriCloud