public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* regression: 2.6.39-rc2,3 compile failure on p2020
@ 2011-04-16  7:28 Richard Cochran
  2011-04-16  7:39 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Cochran @ 2011-04-16  7:28 UTC (permalink / raw)
  To: linuxppc-dev

When compiling mpc85xx_smp_defconfig, the kernel fails to link with:

   arch/powerpc/kernel/built-in.o: In function `cpu_die':
   arch/powerpc/kernel/smp.c:702: undefined reference to `start_secondary_resume'

I suspect:

  commit fa3f82c8bb7acbe049ea71f258b3ae0a33d9d40b
  powerpc/smp: soft-replugged CPUs must go back to start_secondary

The symbol start_secondary_resume is provided by head_32.S, but it is
not present in head_fsl_booke.S.

I don't now how to fix this and would appreciate any help.

Thanks,

Richard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: regression: 2.6.39-rc2,3 compile failure on p2020
  2011-04-16  7:28 regression: 2.6.39-rc2,3 compile failure on p2020 Richard Cochran
@ 2011-04-16  7:39 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2011-04-16  7:39 UTC (permalink / raw)
  To: Richard Cochran; +Cc: linuxppc-dev

On Sat, 2011-04-16 at 09:28 +0200, Richard Cochran wrote:
> When compiling mpc85xx_smp_defconfig, the kernel fails to link with:
> 
>    arch/powerpc/kernel/built-in.o: In function `cpu_die':
>    arch/powerpc/kernel/smp.c:702: undefined reference to
> `start_secondary_resume'
> 
> I suspect:
> 
>   commit fa3f82c8bb7acbe049ea71f258b3ae0a33d9d40b
>   powerpc/smp: soft-replugged CPUs must go back to start_secondary
> 
> The symbol start_secondary_resume is provided by head_32.S, but it is
> not present in head_fsl_booke.S.
> 
> I don't now how to fix this and would appreciate any help.

I'll fix it. Basically copy the code from head_32.S to head_fsl_booke.S


Thanks,

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-16  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16  7:28 regression: 2.6.39-rc2,3 compile failure on p2020 Richard Cochran
2011-04-16  7:39 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox