]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc: Fix 32-bit SMP build
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 20 May 2011 20:22:25 +0000 (16:22 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:34 +0000 (15:05 -0700)
commit37978293453b3cfcf1d659ed6836b9f8de8ca0fa
tree1e5ac5f29aaffe091c774b0a43d7f71fd979e73a
parenta9c48a40ee2a8e5bf07515ec4cfcd349b8f0f8ad
powerpc: Fix 32-bit SMP build

commit 6de06f313a65d0ecabf055e708d082002b568866 upstream.

Commit 69e3cea8d5fd526 ("powerpc/smp: Make start_secondary_resume
available to all CPU variants") introduced start_secondary_resume to
misc_32.S, however it uses a 64-bit instruction which is not valid on
32-bit platforms.  Use 'stw' instead.

Reported-by: Richard Cochran <richardcochran@gmail.com>
Tested-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/kernel/head_32.S