crypto: ahash - Use GFP_KERNEL in unaligned setkey
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jul 2009 13:48:35 +0000 (21:48 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jul 2009 13:48:35 +0000 (21:48 +0800)
commit093900c2b964da73daf234374225b5ce5d49f941
treeaba7bd1240004a6a13c5b7c4f24248777c205699
parent0e2d3a126338ebb213c8e32d8d1d8936d8e62d43
crypto: ahash - Use GFP_KERNEL in unaligned setkey

We currently use GFP_ATOMIC in the unaligned setkey function
to allocate the temporary aligned buffer.  Since setkey must
be called in a sleepable context, we can use GFP_KERNEL instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c