forked from luck/tmp_suning_uos_patched
sparc: Mark prom_early_alloc non-static.
A subsequent changeset will use this. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dfa76060be
commit
efeac2f876
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user