]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ppc64: Fix UP kernel build
authorOlof Johansson <olof@lixom.net>
Thu, 4 Aug 2005 19:53:29 +0000 (12:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 4 Aug 2005 20:00:53 +0000 (13:00 -0700)
commit75eedfed3e2d05563f44d2f69efb991fad95d7f1
tree9084036d93c38d3ad64d327c6ce4afe773bace60
parent556e58febf90c8cb1da25669d0892bf5fd2ddac2
[PATCH] ppc64: Fix UP kernel build

CONFIG_KEXEC breaks UP builds because of a misspelled smp_release_cpus().
Also, the function isn't defined unless built with CONFIG_SMP but it is
needed if we are to go from a UP to SMP kernel.  Enable it and document it.

Thanks to Steven Winiecki for reporting this and to Milton for remembering
how it's supposed to work and why.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/head.S
arch/ppc64/kernel/machine_kexec.c