mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-07 11:28:32 +00:00
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
3 changed files with 4 additions and 2 deletions
|
@ -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 a new issue