Skip to contentSkip to conversation

sparc: fix PCI device proc file mmap(2)

PATCH David Miller 1 participant 1 message Sep 5, 2013

lore
Share & tools
lore

David Miller

author Applied
#0 lore raw

From: Alexey Dobriyan <[email protected]>
Date: Tue, 20 Aug 2013 22:17:24 +0300

Quoted 7 lines

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.

Applied, thanks for following up on this.