cppcheck, a static code analysis tool (http://sourceforge.net/projects/cppcheck/). It found a regression in file linux-2.6/arch/mn10300/kernel/irq.c. This only happens when the preprocessor define CONFIG_HOTPLUG_CPU is set. Please refer the attached patch that fixes the issue. Best regards from the cppcheck team Martin
Created attachment 41712 [details] proposed patch to fix the issue
a fix for this has been merged in 2.6.37: commit d9a1abe4844e7591cd82e167a1a09e6546f6c45e Author: Andrew Morton <akpm@linux-foundation.org> Date: Mon Jan 3 14:59:11 2011 -0800 arch/mn10300/kernel/irq.c: fix build