summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Chou <[email protected]>2015-10-27 09:02:17 +0800
committerThomas Chou <[email protected]>2015-11-06 09:14:11 +0800
commit2de4823dc0424923a6d6070a7378a7bf6ee67556 (patch)
treed1f7dd706b76f4897b83f7a5de32b6e27f766962 /include
parent1cda48f333acd0f822720275730de0e6a6591a75 (diff)
nios2: change virt_to_phys to use physaddr_mask in global data
As virt_to_phys() is used a lot in DMA transfer, change it to use physaddr_mask in global data. This will save an "if" statement and get a little faster. Signed-off-by: Thomas Chou <[email protected]> Acked-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions