From: Paul Gortmaker Date: Wed, 13 Apr 2011 06:30:08 +0000 (+0000) Subject: powerpc/kexec: Fix regression causing compile failure on UP X-Git-Tag: v2.6.39-rc4~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c7a81b53e581d727d069cc45df5510516faac31;p=pandora-kernel.git powerpc/kexec: Fix regression causing compile failure on UP Recent commit b987812b3fcaf70fdf0037589e5d2f5f2453e6ce caused a compile failure on UP because a considerably large block of the file was included within CONFIG_SMP, hence making a stub function not exposed on UP builds when it needed to be. Relocate the stub to the #else /* ! CONFIG_SMP */ section and also annotate the relevant else/endif so that nobody else falls into the same trap I did. Reported-by: Michael Guntsche Signed-off-by: Paul Gortmaker Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed