aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorMax Dmitrichenko <[email protected]>2008-11-02 07:34:10 +0000
committerDavid S. Miller <[email protected]>2008-11-02 07:34:10 +0000
commit5769907ade8dda7002b304c03ef9e4ee5c1e0821 (patch)
tree620a1fd9938abb10abfb0dde236a6e29026ab4ab /fs/ubifs/commit.c
parentsparc64: Kill annoying warning when building compat_binfmt_elf.o (diff)
downloadkernel-5769907ade8dda7002b304c03ef9e4ee5c1e0821.tar.gz
kernel-5769907ade8dda7002b304c03ef9e4ee5c1e0821.zip
sparc64: Fix PCI resource mapping on sparc64
There is a problem discovered in recent versions of ATI Mach64 driver in X.org on sparc64 architecture. In short, the driver fails to mmap MMIO aperture (PCI resource #2). I've found that kernel's __pci_mmap_make_offset() returns EINVAL. It checks whether user attempts to mmap more than the resource length, which is 0x1000 bytes in our case. But PAGE_SIZE on SPARC64 is 0x2000 and this is what actually is being mmaped. So __pci_mmap_make_offset() failed for this PCI resource. Signed-off-by: Max Dmitrichenko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions