crypto: padlock-aes - use offset_in_page macro
authorGeliang Tang <geliangtang@163.com>
Sat, 21 Nov 2015 14:24:11 +0000 (22:24 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 24 Nov 2015 10:19:19 +0000 (18:19 +0800)
commit1d4bbc5a6f475f48b878715de832cd2ac99226b1
tree4c243f62f15ba35387265c6de8764460455d3a0f
parentf143fc673546477f16aba7b7bf456629d06ac4e7
crypto: padlock-aes - use offset_in_page macro

Use offset_in_page macro instead of (addr & ~PAGE_MASK).

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-aes.c