]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sparc: Mark prom_early_alloc non-static.
authorDavid S. Miller <davem@davemloft.net>
Fri, 5 Dec 2008 08:40:43 +0000 (00:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Dec 2008 01:01:27 +0000 (17:01 -0800)
A subsequent changeset will use this.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/prom.h
arch/sparc/kernel/prom_32.c
arch/sparc/kernel/prom_64.c

index dce53de274e8e4334c08274cf0a3511b8218ff4f..b7258ce87cccaaaf639df1fa2dea1226d6051f31 100644 (file)
@@ -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 */
index e41df66192e5eb4733a950cb824e365724bf1a75..ba3c55186823c7eed935f9b8b368c0743cf2763e 100644 (file)
@@ -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;
 
index 1f5666a94884d05c93088a280dcc854e7248ade8..1c7b9d7b7889b49aa794bd1caad318c011c39d89 100644 (file)
@@ -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;