diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-08 19:24:00 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-09-17 18:43:24 +0200 |
commit | cf141ae989e2ff119cd320326da5923b480d1641 (patch) | |
tree | 1c6633132fc27bc040aee8d3edc8c9b196789d92 /net/ipv6/esp6_offload.c | |
parent | ARM/dma-mapping: move various helpers from dma-mapping.h to dma-direct.h (diff) | |
download | linux-cf141ae989e2ff119cd320326da5923b480d1641.tar.xz linux-cf141ae989e2ff119cd320326da5923b480d1641.zip |
ARM/keystone: move the DMA offset handling under ifdef CONFIG_ARM_LPAE
The DMA offset notifier can only be used if PHYS_OFFSET is at least
KEYSTONE_HIGH_PHYS_START, which can't be represented by a 32-bit
phys_addr_t. Currently the code compiles fine despite that, a pending
change to the DMA offset handling would create a compiler warning for
this case. Add an ifdef to not compile the code except for LPAE
configs.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'net/ipv6/esp6_offload.c')
0 files changed, 0 insertions, 0 deletions