From: Ralph Campbell Date: Thu, 15 Mar 2007 21:44:58 +0000 (-0700) Subject: IB/ipath: Fix port sharing on powerpc X-Git-Tag: v2.6.22-rc1~1126^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a5a83cffc03592c2102ad07b7532b596a16f8cd;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed