Skip to content

Commit

Permalink
[POWERPC] ps3: Fix section mismatch in ps3/setup.c
Browse files Browse the repository at this point in the history
WARNING: vmlinux.o(.text+0x605d4): Section mismatch: reference to
.init.text:.__alloc_bootmem (between '.prealloc' and '.ps3_power_save')

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Aug 3, 2007
1 parent 683e3ab commit cba684f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/ps3/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void ps3_panic(char *str)

#if defined(CONFIG_FB_PS3) || defined(CONFIG_FB_PS3_MODULE) || \
defined(CONFIG_PS3_FLASH) || defined(CONFIG_PS3_FLASH_MODULE)
static void prealloc(struct ps3_prealloc *p)
static void __init prealloc(struct ps3_prealloc *p)
{
if (!p->size)
return;
Expand Down

0 comments on commit cba684f

Please sign in to comment.