aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/ops.h
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2007-06-16 08:06:44 +1000
committerPaul Mackerras <paulus@samba.org>2007-06-28 19:16:50 +1000
commit62cf6a9d65cd7ba66f96be25e3e8c5036c3e581e (patch)
treef0a363d9098c3f13e5b3e9f3ff6608fc329ecd70 /arch/powerpc/boot/ops.h
parentb96fbb6e1eb81bb21a8c3462773a0056e12de427 (diff)
[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/ops.h')
-rw-r--r--arch/powerpc/boot/ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h
index a1581b7f177..86077066cd7 100644
--- a/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -19,6 +19,8 @@
#define MAX_PATH_LEN 256
#define MAX_PROP_LEN 256 /* What should this be? */
+typedef void (*kernel_entry_t)(unsigned long r3, unsigned long r4, void *r5);
+
/* Platform specific operations */
struct platform_ops {
void (*fixups)(void);