diff options
author | Steven Luo <steven@steven676.net> | 2013-12-11 22:51:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-17 10:07:39 -0800 |
commit | ed75098fd17b663f76dd7b4960c3da08fb250032 (patch) | |
tree | 797bfb89b4486ecc2768be6b58c2d14ef701ebcc /drivers/staging/octeon/ethernet-rx.c | |
parent | 76981cf1a18ba4c71be80a1f2a53ad43b918e804 (diff) |
Staging: TIDSPBRIDGE: Fix mmap to map the correct region of physical memory
Commit 559c71fe5dc3 ("Staging: TIDSPBRIDGE: Use vm_iomap_memory for
mmap-ing instead of remap_pfn_range") had the effect of inadvertently
shifting the start of the physical memory area mapped by
pdata->phys_mempool_base. Correct this by subtracting that shift before
calling vm_iomap_memory() and adding it back afterwards.
Reported-by: Dheeraj CVR <cvr.dheeraj@gmail.com>
Signed-off-by: Ivaylo Dimitrov <freemangordon@abv.bg>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-rx.c')
0 files changed, 0 insertions, 0 deletions