]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Make kernel_entry_t have global scope in bootwrapper
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 15 Jun 2007 22:06:44 +0000 (08:06 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 28 Jun 2007 09:16:50 +0000 (19:16 +1000)
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>
arch/powerpc/boot/main.c
arch/powerpc/boot/ops.h

index 56b56a8d4b2334081dbc63452697da21cd5c8078..416dc3857bfe8dcc468c8f6c3d0953970a31de40 100644 (file)
@@ -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)
index a1581b7f1779083d9ebc7d1bb1d1a6247d4cb7fd..86077066cd7cae1a8c42f0f679f44431ebd241a7 100644 (file)
@@ -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);