commit | a929cbeef7d8e5c3603a6f43b977c03c922aada3 | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <dmitry.kasatkin@nokia.com> | Thu Jun 02 21:10:06 2011 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 30 07:44:02 2011 +0800 |
tree | dd5321e7f54daf6eea76902523312a87ed56ad10 | |
parent | ea1fd2246f3c3c6b739529db2a547fa080cf09a3 [diff] |
crypto: omap-sham - replace flags operation with atomic bit operations Some flags are changed in interrupt handlers and verified in the tasklet. There might be a race condition when tasklet is interrupted or another cpu/core will run IRQ handler and tasklet in parallel. Atomic bitops functions are now used instead of bitmask operations. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>