Re: [PATCH] 2.6.19-rc1: Fix build breakage with CONFIG_PPC32

Paul Mackerras
2006-10-16T09:43:52Z

Srinivasa Ds writes:

> arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
> (.text+0x96d4): undefined reference to `low_cpu_die'
> ======================================================
> low_cpu_die() is defined under CONFIG_PM || CONFIG_CPU_FREQ_PMAC
> options ,but while calling this function ,no care has been to taken to
> check these options. So please apply this fix,which solves the problem.

Nack. The correct fix is to adjust the ifdefs in sleep.S to make
low_cpu_die available. Otherwise it won't be possible to off-line
CPUs properly.

Paul.