diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2007-03-16 00:44:58 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-04-19 07:20:56 +0400 |
commit | 0a5a83cffc03592c2102ad07b7532b596a16f8cd (patch) | |
tree | 92a760d41be44da4fc9438c45eae7218271712f7 /drivers/infiniband/hw/ipath/ipath_common.h | |
parent | 041eab9136d8325c332429df71d05ba3e0ea8ebc (diff) | |
download | linux-0a5a83cffc03592c2102ad07b7532b596a16f8cd.tar.xz |
IB/ipath: Fix port sharing on powerpc
The port sharing feature mixed kernel virtual addresses as well as
physical addresses for the offset used to describe the mmap address to
map the InfiniPath hardware into user space. This had a conflict on
powerpc. The new scheme converts it to a physical address so it
doesn't conflict with chip addresses and yet still fits in 40/44 bits
so it isn't truncated by 32-bit applications calling mmap64().
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_common.h')
0 files changed, 0 insertions, 0 deletions