aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2007-03-19 14:58:06 -0600
committerPaul Mackerras <paulus@samba.org>2007-03-21 22:35:42 +1100
commit0e6806734fd861c360ecbb4262d3d5678cea7faf (patch)
tree00be3831da8c57bf782811ed0d4fec110ee18f41 /arch/powerpc
parent65b580395d234350b53a03285b98c9a271eb5eb7 (diff)
[POWERPC] boot: export flush_cache
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/boot/main.c2
-rw-r--r--arch/powerpc/boot/ops.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c
index 8a60e13777d..d872b758ef1 100644
--- a/arch/powerpc/boot/main.c
+++ b/arch/powerpc/boot/main.c
@@ -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[];
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h
index 4d0cfd73398..93608b772db 100644
--- a/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -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)
{