diff options
author | Christoph Hellwig <hch@lst.de> | 2018-06-19 09:04:55 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2018-08-13 09:30:32 +0200 |
commit | c1f59375b3782f478ac2c488889abdc00dd8e25f (patch) | |
tree | 618197af450d2db9600dfcfbc25dc6c2772462f4 /arch/parisc/kernel/setup.c | |
parent | 7f1501053811414ddeff63db8f5d41bdbe38068f (diff) |
parisc: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation.
Fix sync_single_for_cpu to do skip the cache flush unless the transfer
is to the device to match the more tested unmap_single path which should
have the same cache coherency implications.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/setup.c')
-rw-r--r-- | arch/parisc/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c index 5c8450a22255..4e87c35c22b7 100644 --- a/arch/parisc/kernel/setup.c +++ b/arch/parisc/kernel/setup.c @@ -102,7 +102,7 @@ void __init dma_ops_init(void) case pcxl: /* falls through */ case pcxs: case pcxt: - hppa_dma_ops = &pa11_dma_ops; + hppa_dma_ops = &dma_noncoherent_ops; break; default: break; |