uio: provide vm access to UIO_MEM_PHYS maps
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 7 Aug 2013 11:02:53 +0000 (13:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Nov 2013 03:05:33 +0000 (12:05 +0900)
commit5fa25ee0bde3ad47e99e9877313a36a9ace95b72
treef57654e7acf20bf7dc1267a9ec0cafb25f12ecef
parentf80d1c35d87072b46bf47f323f8051c4a5073fb4
uio: provide vm access to UIO_MEM_PHYS maps

commit 7294151d0592e0ff48c61fca9fd7c93d613134da upstream.

This makes it possible to let gdb access mappings of the process that is
being debugged.

uio_mmap_logical was moved and uio_vm_ops renamed to group related code
and differentiate to new stuff.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio.c