diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-05 00:40:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-05 17:01:27 -0800 |
commit | efeac2f87609ab25dab329ce16876eb9110b2084 (patch) | |
tree | a98da28780d86cb6c36b9016d2f42a3c6189d448 /arch/sparc/kernel | |
parent | dfa76060be85dd48d3803bc26f6a6d2e93e812f0 (diff) |
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/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/prom.h | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/prom_32.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/prom_64.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/arch/sparc/kernel/prom.h b/arch/sparc/kernel/prom.h index dce53de274e..b7258ce87cc 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 e41df66192e..ba3c5518682 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 1f5666a9488..1c7b9d7b788 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; |