summaryrefslogtreecommitdiffstats
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorLibin <huawei.libin@huawei.com>2013-04-15 02:48:54 +0000
committerBjorn Helgaas <bhelgaas@google.com>2013-04-15 14:30:44 -0600
commit64b001758e778b2b1aad08aa1f6c5896da5f5773 (patch)
tree5f2ee1a9ee6462696889908de3a5a5910b8a2ffb /crypto/pcrypt.c
parent545d7b78e0bbe686056cdd6cd431ca1946641b31 (diff)
downloadblackbird-obmc-linux-64b001758e778b2b1aad08aa1f6c5896da5f5773.tar.gz
blackbird-obmc-linux-64b001758e778b2b1aad08aa1f6c5896da5f5773.zip
PCI: Use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFT
(*->vm_end - *->vm_start) >> PAGE_SHIFT operation is implemented as an inline funcion vma_pages() in linux/mm.h, so use it. Signed-off-by: Libin <huawei.libin@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud