Alexey Kardashevskiy <aik@xxxxxxxxx> writes: > As now we have xchg_no_kill/tce_kill, these are not used anymore so > remove them. > > Signed-off-by: Alexey Kardashevskiy <aik@xxxxxxxxx> > --- > arch/powerpc/include/asm/iommu.h | 10 ----- > arch/powerpc/kernel/iommu.c | 26 +----------- > arch/powerpc/platforms/powernv/pci-ioda.c | 50 ----------------------- > 3 files changed, 1 insertion(+), 85 deletions(-) This doesn't build: arch/powerpc/platforms/pseries/iommu.c:652:3: error: 'struct iommu_table_ops' has no member named 'exchange' .exchange = tce_exchange_pseries, ^~~~~~~~ arch/powerpc/platforms/pseries/iommu.c:652:14: error: initialization of 'int (*)(struct iommu_table *, long int, long unsigned int *, enum dma_data_direction *, bool)' {aka 'int (*)(struct iommu_table *, long int, long unsigned int *, enum dma_data_direction *, _Bool)'} from incompatible pointer type 'int (*)(struct iommu_table *, long int, long unsigned int *, enum dma_data_direction *)' [-Werror=incompatible-pointer-types] .exchange = tce_exchange_pseries, ^~~~~~~~~~~~~~~~~~~~ cheers