diff options
author | 2008-10-01 15:30:04 +0000 | |
---|---|---|
committer | 2008-10-07 14:26:21 +1100 | |
commit | 7c12d906f4ef690c65e60111375856640f63a545 (patch) | |
tree | 94316181a86959bc97fb2bd3b962c4a6c9289ef1 /arch/powerpc/sysdev/xilinx_intc.c | |
parent | powerpc: Honor O_NONBLOCK flag when reading RTAS log (diff) | |
download | wireguard-linux-7c12d906f4ef690c65e60111375856640f63a545.tar.xz wireguard-linux-7c12d906f4ef690c65e60111375856640f63a545.zip |
powerpc: Fix sysfs pci mmap on 32-bit machines with 64-bit PCI
When manipulating 64-bit PCI addresses, the code would lose the
top 32-bit in a couple of places when shifting a pfn due to missing
type casting from the 32-bit pfn to a 64-bit resource before the
shift.
This breaks using newer X servers for example on 440 machines
with the PCI bus above 32-bit.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/xilinx_intc.c')
0 files changed, 0 insertions, 0 deletions