diff options
author | Robin Murphy <Robin.Murphy@arm.com> | 2015-07-31 20:28:34 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-08-03 15:17:38 +0300 |
commit | 97942c2862d74689b6241802f2aa43972042389f (patch) | |
tree | a08eb44090be5bf4cb879260d2d2f38c24d0c904 /net/lapb/lapb_timer.c | |
parent | b511a6592860f24725f34909392885c4e3e9fe95 (diff) | |
download | linux-97942c2862d74689b6241802f2aa43972042389f.tar.xz |
arm64: dma-mapping: Simplify pgprot handling
Since __get_dma_pgprot() does The Right Thing(TM) in the non-coherent
case, and the non-cacheable alias for DMA buffers is private to the
kernel anyway, we can simplify things slightly and make the code more
readable by just using PAGE_KERNEL as the base pgprot.
Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions