]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: aesni-intel - Fix irq_fpu_usable usage
authorHuang Ying <ying.huang@intel.com>
Tue, 20 Oct 2009 07:20:47 +0000 (16:20 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Oct 2009 07:20:47 +0000 (16:20 +0900)
commit14a83229b9e5b8bf0cd877f48ce4b43f2dd85a26
tree9e9b680352318aafe356c499dec9319cf25ac3e0
parent80ad3daa9dddbe0599be8c36b7ab07d8917c787e
crypto: aesni-intel - Fix irq_fpu_usable usage

When renaming kernel_fpu_using to irq_fpu_usable, the semantics of the
function is changed too, from mesuring whether kernel is using FPU,
that is, the FPU is NOT available, to measuring whether FPU is usable,
that is, the FPU is available.

But the usage of irq_fpu_usable in aesni-intel_glue.c is not changed
accordingly. This patch fixes this.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_glue.c