error: ‘cpus_in_crash’ defined but not used

Christian Kujau lists at nerdbynature.de
Wed Jan 18 15:13:45 EST 2012


Hi,

compiling today's git (mainline, a25a2b8) on powerpc32 gives:

  CC      arch/powerpc/kernel/crash.o
cc1: warnings being treated as errors
/usr/local/src/linux-2.6-git/arch/powerpc/kernel/crash.c:49: error: 
‘cpus_in_crash’ defined but not used
make[2]: *** [arch/powerpc/kernel/crash.o] Error 1
make[1]: *** [arch/powerpc/kernel] Error 2
make: *** [sub-make] Error 2

I think I've seen some discussion on the list where 
"treat-warnings-as-errors" for powerpc were discussed a while ago, but 
cannot remember for sure right now. Full .config:

    http://nerdbynature.de/bits/3.2.0/

Thanks,
Christian.
-- 
BOFH excuse #149:

Dew on the telephone lines.


More information about the Linuxppc-dev mailing list