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:08:10 +0000 (12:08 +0900)
commit3f4df5cd4308788d9fadc53dbafc4a82f1664066
treed756e32abe218b441e09c8bac43d4a0aab6e7a7a
parente2dbe5ab0ee1992fb7134c561518183b511fb81a
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