From: Dmitry Kasatkin Date: Thu, 2 Jun 2011 18:10:06 +0000 (+0300) Subject: crypto: omap-sham - replace flags operation with atomic bit operations X-Git-Tag: v3.1-rc1~266^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a929cbeef7d8e5c3603a6f43b977c03c922aada3;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed