]> bbs.cooldavid.org Git - net-next-2.6.git/commit
crypto: ghash-intel - Fix irq_fpu_usable usage
authorHuang Ying <ying.huang@intel.com>
Tue, 3 Nov 2009 15:55:20 +0000 (10:55 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 3 Nov 2009 15:55:20 +0000 (10:55 -0500)
commit01dd95827726534230d8f03f7e6faafe24e49260
tree2b198f49ad60e96b8564897f65939c41dd7de2a3
parent3b0d65969b549b796abc6f0230f6142fed365d49
crypto: ghash-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 ghash-clmulni-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/ghash-clmulni-intel_glue.c