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:
Родитель
dfa76060be
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче