Skip to content

Commit

Permalink
sparc: Mark prom_early_alloc non-static.
Browse files Browse the repository at this point in the history
A subsequent changeset will use this.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Dec 6, 2008
1 parent dfa7606 commit efeac2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions arch/sparc/kernel/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
2 changes: 1 addition & 1 deletion arch/sparc/kernel/prom_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion arch/sparc/kernel/prom_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit efeac2f

Please sign in to comment.