aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/cpufeature.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-09-21 23:21:53 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2009-09-21 23:21:53 -0700
commit4c6ab3ee4cdb86cbd4e9400dd22fad7701cbe795 (patch)
treeb610dde153d80babcb01d84fec35134d0c08f34d /arch/x86/include/asm/cpufeature.h
parentMerge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (diff)
downloadlinux-dev-4c6ab3ee4cdb86cbd4e9400dd22fad7701cbe795.tar.xz
linux-dev-4c6ab3ee4cdb86cbd4e9400dd22fad7701cbe795.zip
crypto: padlock-sha - Fix stack alignment
The PadLock hardware requires the output buffer for SHA to be 128-bit aligned. We currentply place the buffer on the stack, and ask gcc to align it to 128 bits. That doesn't work on i386 because the kernel stack is only aligned to 32 bits. This patch changes the code to align the buffer by hand so that the hardware doesn't fault on unaligned buffers. Reported-by: Séguier Régis <rguier@e-teleport.net> Tested-by: Séguier Régis <rguier@e-teleport.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/include/asm/cpufeature.h')
0 files changed, 0 insertions, 0 deletions