diff options
author | Milton Miller <miltonm@bga.com> | 2007-03-19 16:58:06 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-21 07:35:42 -0400 |
commit | 0e6806734fd861c360ecbb4262d3d5678cea7faf (patch) | |
tree | 00be3831da8c57bf782811ed0d4fec110ee18f41 | |
parent | 65b580395d234350b53a03285b98c9a271eb5eb7 (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>
-rw-r--r-- | arch/powerpc/boot/main.c | 2 | ||||
-rw-r--r-- | arch/powerpc/boot/ops.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c index 8a60e13777d7..d872b758ef14 100644 --- a/arch/powerpc/boot/main.c +++ b/arch/powerpc/boot/main.c | |||
@@ -18,8 +18,6 @@ | |||
18 | #include "gunzip_util.h" | 18 | #include "gunzip_util.h" |
19 | #include "flatdevtree.h" | 19 | #include "flatdevtree.h" |
20 | 20 | ||
21 | extern void flush_cache(void *, unsigned long); | ||
22 | |||
23 | extern char _start[]; | 21 | extern char _start[]; |
24 | extern char __bss_start[]; | 22 | extern char __bss_start[]; |
25 | extern char _end[]; | 23 | extern char _end[]; |
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h index 4d0cfd733985..93608b772db5 100644 --- a/arch/powerpc/boot/ops.h +++ b/arch/powerpc/boot/ops.h | |||
@@ -79,7 +79,7 @@ int serial_console_init(void); | |||
79 | int ns16550_console_init(void *devp, struct serial_console_data *scdp); | 79 | int ns16550_console_init(void *devp, struct serial_console_data *scdp); |
80 | void *simple_alloc_init(char *base, u32 heap_size, u32 granularity, | 80 | void *simple_alloc_init(char *base, u32 heap_size, u32 granularity, |
81 | u32 max_allocs); | 81 | u32 max_allocs); |
82 | 82 | extern void flush_cache(void *, unsigned long); | |
83 | 83 | ||
84 | static inline void *finddevice(const char *name) | 84 | static inline void *finddevice(const char *name) |
85 | { | 85 | { |