diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-04-13 06:30:08 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-18 13:06:45 +1000 |
commit | 7c7a81b53e581d727d069cc45df5510516faac31 (patch) | |
tree | c62c2d3acc53987ef0cc569de15dde744eed8e82 /arch/powerpc/mm/44x_mmu.c | |
parent | 8f3dda75cb942acc049adb2c95a6e5f4c3a8a410 (diff) | |
download | blackbird-op-linux-7c7a81b53e581d727d069cc45df5510516faac31.tar.gz blackbird-op-linux-7c7a81b53e581d727d069cc45df5510516faac31.zip |
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 <mike@it-loops.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/44x_mmu.c')
0 files changed, 0 insertions, 0 deletions