diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-04-24 19:04:31 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-04 09:22:59 +0400 |
commit | 7707e4110e5692fe85e7e6c471c9bb2a9254d313 (patch) | |
tree | 1adbc1edfc26fa3b3258f8c1c592d8b4775fe78d /arch/powerpc/include/asm/firmware.h | |
parent | 104699c0ab473535793b5fea156adaf309afd29b (diff) | |
download | linux-7707e4110e5692fe85e7e6c471c9bb2a9254d313.tar.xz |
powerpc/kexec: Fix build failure on 32-bit SMP
Commit b987812b3fcaf70fdf0037589e5d2f5f2453e6ce left
crash_kexec_wait_realmode() undefined for UP.
Commit 7c7a81b53e581d727d069cc45df5510516faac31 defined it for UP but
left it undefined for 32-bit SMP.
Seems like people are getting confused by nested #ifdef's, so move the
definitions of crash_kexec_wait_realmode() after the #ifdef CONFIG_SMP
section.
Compile-tested with 32-bit UP, 32-bit SMP and 64-bit SMP configurations.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Tested-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/firmware.h')
0 files changed, 0 insertions, 0 deletions