diff options
author | Geliang Tang <geliangtang@163.com> | 2016-01-21 00:02:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-21 02:09:18 +0100 |
commit | 8e99469ab0f821bea77625cd4775ca529d4ca7d4 (patch) | |
tree | 13afb3717afb0d0ed1f007a32f87abd6bc4d81ce /lib | |
parent | dma-mapping: remove <asm-generic/dma-coherent.h> (diff) | |
download | linux-8e99469ab0f821bea77625cd4775ca529d4ca7d4.tar.xz linux-8e99469ab0f821bea77625cd4775ca529d4ca7d4.zip |
dma-mapping: use offset_in_page macro
Use offset_in_page macro instead of (addr & ~PAGE_MASK).
Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions