summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/main.c
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2007-06-16 00:06:44 +0200
committerPaul Mackerras <paulus@samba.org>2007-06-28 11:16:50 +0200
commit62cf6a9d65cd7ba66f96be25e3e8c5036c3e581e (patch)
treef0a363d9098c3f13e5b3e9f3ff6608fc329ecd70 /arch/powerpc/boot/main.c
parent[POWERPC] Fix constantness of bootwrapper arg (diff)
downloadlinux-62cf6a9d65cd7ba66f96be25e3e8c5036c3e581e.tar.xz
linux-62cf6a9d65cd7ba66f96be25e3e8c5036c3e581e.zip
[POWERPC] Make kernel_entry_t have global scope in bootwrapper
For the convenience of custom platform code make the powerpc bootwrapper typdef kernel_entry_t global in scope. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/main.c')
-rw-r--r--arch/powerpc/boot/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c
index 56b56a8d4b23..416dc3857bfe 100644
--- a/arch/powerpc/boot/main.c
+++ b/arch/powerpc/boot/main.c
@@ -36,8 +36,6 @@ struct addr_range {
unsigned long size;
};
-typedef void (*kernel_entry_t)(unsigned long, unsigned long, void *);
-
#undef DEBUG
static struct addr_range prep_kernel(void)