powerpc: Fix compile of sha1-powerpc-asm.S on 32-bit
authorTony Breeds <tony@bakeyournoodle.com>
Mon, 25 Feb 2013 16:20:05 +0000 (16:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Mar 2013 05:56:26 +0000 (16:56 +1100)
commit27777890d0fae55d14ef18791fc7994faf1bc867
treecfaaaa968dc7460c4e2d324622b53d22962935a8
parent6dbe51c251a327e012439c4772097a13df43c5b8
powerpc: Fix compile of sha1-powerpc-asm.S on 32-bit

When building with CRYPTO_SHA1_PPC enabled we fail with:

powerpc/crypto/sha1-powerpc-asm.S: Assembler messages:
powerpc/crypto/sha1-powerpc-asm.S:116: Error: can't resolve `0' {*ABS* section} - `STACKFRAMESIZE' {*UND* section}
powerpc/crypto/sha1-powerpc-asm.S:116: Error: expression too complex
powerpc/crypto/sha1-powerpc-asm.S:178: Error: unsupported relocation against STACKFRAMESIZE

Use INT_FRAME_SIZE instead of STACKFRAMESIZE.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Tested-by: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/crypto/sha1-powerpc-asm.S