[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stable update of linux-2.6



On Sun, Apr 03, 2011 at 01:21:03PM +0530, Kamalesh Babulal wrote:
> * dann frazier <dannf@dannf.org> [2011-04-02 11:23:03]:
> 
> > 2.6.32.36 also fails to build on powerpc/SMP:
> > 
> >   CC      arch/powerpc/kernel/crash.o
> > arch/powerpc/kernel/crash.c: In function 'crash_kexec_wait_realmode':
> > arch/powerpc/kernel/crash.c:176: error: 'paca' undeclared (first use in this function)
> > arch/powerpc/kernel/crash.c:176: error: (Each undeclared identifier is reported only once
> > arch/powerpc/kernel/crash.c:176: error: for each function it appears in.)
> > make[1]: *** [arch/powerpc/kernel/crash.o] Error 1
> > make: *** [arch/powerpc/kernel] Error 2
> 
> Hi Dann,
> 
> 	Can you please try the following patch, which adds the changes
> introduced by Kumar Gala to the commit b3df895aeb to my previous patch.

Yep, that fixes the build.

     -dann

>     powerpc: Fix default_machine_crash_shutdown #ifdef build failure
> 
>     Introducing #ifdef to fix the build failure caused by
>     crash_kexec_wait_realmode(), with powerpc build with !SMP.
> 
>     Reported-by: Ben Hutchings <ben@decadent.org.uk>
>     Reported-by: dann frazier <dannf@dannf.org>
>     Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
>     cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
>     cc: Michael Neuling <mikey@neuling.org>
> 	cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>     cc: Anton Blanchard <anton@samba.org>
>     cc: Kumar Gala <galak@kernel.crashing.org>


Reply to: