提交 efeac2f8 编写于 作者: D David S. Miller

sparc: Mark prom_early_alloc non-static.

A subsequent changeset will use this.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 dfa76060
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部