summaryrefslogtreecommitdiff
path: root/block/elevator.c
diff options
context:
space:
mode:
authorVladimir Murzin <vladimir.murzin@arm.com>2016-08-15 13:10:32 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-07 12:06:53 +0300
commit220be8d0e1729fc6f4bb10b009393cd0c1f5574e (patch)
tree94e526fc4d1fcd1361e753c6a32b8e389541887a /block/elevator.c
parent95cc44a04f4c364affbc194820ad4ca5ab88f30c (diff)
downloadlinux-220be8d0e1729fc6f4bb10b009393cd0c1f5574e.tar.xz
fbdev: vfb: simplify memory management
Substitute home-brewed memory management for framebuffer memory with what core mm provide us: vmalloc_32_user() and remap_vmalloc_range() The former is designed to allocate virtually contiguous area which is 32bit addressable and zeroed so it can be mapped to userspace without leaking data. The latter does the similar job to remap_pfn_range() but additionally validate vmalloc'ed area and it's size. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions