crypto: omap-sham - Map SG pages if they are HIGHMEM before accessing
authorJoel Fernandes <joelf@ti.com>
Fri, 7 Mar 2014 16:28:46 +0000 (10:28 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:17:13 +0000 (20:17 +0800)
commit26a05489ee0eb2a69b729438e63b1038b472fa57
treefd8bf272681f2eb72ccb10ddeec398f1dffeca22
parent6e4e603a9a99c6e27a74c1a813a7c751d85a721d
crypto: omap-sham - Map SG pages if they are HIGHMEM before accessing

HIGHMEM pages may not be mapped so we must kmap them before accessing.
This resolves a random OOPs error that was showing up during OpenSSL SHA tests.

Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c