]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] boot: export flush_cache
authorMilton Miller <miltonm@bga.com>
Mon, 19 Mar 2007 20:58:06 +0000 (14:58 -0600)
committerPaul Mackerras <paulus@samba.org>
Wed, 21 Mar 2007 11:35:42 +0000 (22:35 +1100)
Move the declaration of flush_cache to ops.h for use by platform code.

Signed-off-by: Milton Miller <miltonm@bga.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/main.c
arch/powerpc/boot/ops.h

index 8a60e13777d793c4a4211f07220fb01f81062a0f..d872b758ef147ca1aea5d581f217266d34ec12a1 100644 (file)
@@ -18,8 +18,6 @@
 #include "gunzip_util.h"
 #include "flatdevtree.h"
 
-extern void flush_cache(void *, unsigned long);
-
 extern char _start[];
 extern char __bss_start[];
 extern char _end[];
index 4d0cfd73398544471fef6ba1c34dedf685b91f18..93608b772db5b54277f448a614e9d0a66fdfba51 100644 (file)
@@ -79,7 +79,7 @@ int serial_console_init(void);
 int ns16550_console_init(void *devp, struct serial_console_data *scdp);
 void *simple_alloc_init(char *base, u32 heap_size, u32 granularity,
                u32 max_allocs);
-
+extern void flush_cache(void *, unsigned long);
 
 static inline void *finddevice(const char *name)
 {