sparc: fix PCI device proc file mmap(2)
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 20 Aug 2013 19:17:24 +0000 (22:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2013 19:12:51 +0000 (12:12 -0700)
commitc4fe24485729fc2cbff324c111e67a1cc2f9adea
tree26b45b77ad4ff49ae8f3af13a12f190439e53010
parent61d9b9355b0d427bd1e732bd54628ff9103e496f
sparc: fix PCI device proc file mmap(2)

Commit 786d7e1612f0b0adb6046f19b906609e4fe8b1ba "Fix rmmod/read/write races in /proc entries"
must have broken mmapping of PCI device proc files on Sparc.

Notice how it adds wrapper around ->mmap but doesn't do it around ->get_unmapped_area.
Add wrapper around ->get_unmapped_area.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/proc/inode.c