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)
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>

No differences found