IB/ipath: drop requirement that PIO buffers be mmaped write-only
authorBryan O'Sullivan <bos@pathscale.com>
Fri, 25 Aug 2006 18:24:30 +0000 (11:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:29 +0000 (15:22 -0700)
commit367fe711c5dc85dbc3265cf01e34d4d6fbd55f06
treeff3b35b84371afd5fbb2b13ea5657bbda71e73df
parentba11203a11835737df980ef3dd3bd8325b9cc94e
IB/ipath: drop requirement that PIO buffers be mmaped write-only

Some userlands try to mmap these pages read-write, so accommodate them.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c