WSL2-Linux-Kernel/drivers/uio
Libin 52c2dad914 uio: use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFT
(*->vm_end - *->vm_start) >> PAGE_SHIFT operation is implemented
as a inline funcion vma_pages() in linux/mm.h, so using it.

Signed-off-by: Libin <huawei.libin@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:26 -07:00
..
Kconfig uio: UIO_DMEM_GENIRQ should depend on HAS_DMA 2013-05-21 10:13:23 -07:00
Makefile Add new uio device for dynamic memory allocation 2012-10-24 15:39:08 -07:00
uio.c uio: use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFT 2013-07-03 16:07:26 -07:00
uio_aec.c uio/uio_aec: Use module_pci_driver to register driver 2013-05-21 10:10:41 -07:00
uio_cif.c uio/uio_cif: Use module_pci_driver to register driver 2013-05-21 10:10:41 -07:00
uio_dmem_genirq.c drivers: uio_dmem_genirq: Use of_match_ptr() macro 2013-06-24 16:29:59 -07:00
uio_netx.c uio/uio_netx: Use module_pci_driver to register driver 2013-05-21 10:10:41 -07:00
uio_pci_generic.c uio/uio_pci_generic: Use module_pci_driver to register driver 2013-05-21 13:59:25 -07:00
uio_pdrv.c uio_pdrv: set memory mapping name 2012-11-15 17:29:07 -08:00
uio_pdrv_genirq.c drivers: uio_pdrv_genirq: Use of_match_ptr() macro 2013-06-25 17:22:30 -07:00
uio_pruss.c uio: uio_pruss: Fix potential NULL pointer dereference 2013-06-06 12:54:09 -07:00
uio_sercos3.c uio/uio_sercos3: Use module_pci_driver to register driver 2013-05-21 10:10:41 -07:00