tile PCI DMA: fix bug in non-page-aligned accessors
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 5 Aug 2013 17:45:28 +0000 (13:45 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 6 Aug 2013 16:56:04 +0000 (12:56 -0400)
commit02b67e09541b85d8f92e0a68a9deb1c33e6626bb
treee74fb25de3a1572e5d648953bfaf59a6999031fb
parentdc7d5cf2cab6d1fbb43c5c0569f43b7e4c822760
tile PCI DMA: fix bug in non-page-aligned accessors

The code incorrectly masked with PAGE_OFFSET instead of
PAGE_SIZE-1.  This only matters when trying to do a
non page-aligned DMA; it was noticed during code inspection.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/pci-dma.c