powerpc: Fix 32-bit SMP build
authorJosh Boyer <[email protected]>
Fri, 20 May 2011 20:22:25 +0000 (16:22 -0400)
committerLinus Torvalds <[email protected]>
Fri, 20 May 2011 23:23:19 +0000 (16:23 -0700)
commit6de06f313a65d0ecabf055e708d082002b568866
tree4d2d8196a9682a399790ea1ac86f24bcf1f4270d
parent557eed603159b4e007c57d97fad1333ecebd3c2e
powerpc: Fix 32-bit SMP build

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 <[email protected]>
Tested-by: Richard Cochran <[email protected]>
Signed-off-by: Josh Boyer <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/powerpc/kernel/misc_32.S