change alloc_pages name in dma_map_ops to avoid name conflicts
After redefining alloc_pages, all uses of that name are being replaced. Change the conflicting names to prevent preprocessor from replacing them when it's not intended. Link: https://lkml.kernel.org/r/20240321163705.3067592-18-surenb@google.com Signed-off-by:Suren Baghdasaryan <surenb@google.com> Tested-by:
Kees Cook <keescook@chromium.org> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Alex Gaynor <alex.gaynor@gmail.com> Cc: Alice Ryhl <aliceryhl@google.com> Cc: Andreas Hindborg <a.hindborg@samsung.com> Cc: Benno Lossin <benno.lossin@proton.me> Cc: "Björn Roy Baron" <bjorn3_gh@protonmail.com> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Christoph Lameter <cl@linux.com> Cc: Dennis Zhou <dennis@kernel.org> Cc: Gary Guo <gary@garyguo.net> Cc: Kent Overstreet <kent.overstreet@linux.dev> Cc: Miguel Ojeda <ojeda@kernel.org> Cc: Pasha Tatashin <pasha.tatashin@soleen.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Tejun Heo <tj@kernel.org> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Wedson Almeida Filho <wedsonaf@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>
Showing
- arch/alpha/kernel/pci_iommu.c 1 addition, 1 deletionarch/alpha/kernel/pci_iommu.c
- arch/mips/jazz/jazzdma.c 1 addition, 1 deletionarch/mips/jazz/jazzdma.c
- arch/powerpc/kernel/dma-iommu.c 1 addition, 1 deletionarch/powerpc/kernel/dma-iommu.c
- arch/powerpc/platforms/ps3/system-bus.c 2 additions, 2 deletionsarch/powerpc/platforms/ps3/system-bus.c
- arch/powerpc/platforms/pseries/vio.c 1 addition, 1 deletionarch/powerpc/platforms/pseries/vio.c
- arch/x86/kernel/amd_gart_64.c 1 addition, 1 deletionarch/x86/kernel/amd_gart_64.c
- drivers/iommu/dma-iommu.c 1 addition, 1 deletiondrivers/iommu/dma-iommu.c
- drivers/parisc/ccio-dma.c 1 addition, 1 deletiondrivers/parisc/ccio-dma.c
- drivers/parisc/sba_iommu.c 1 addition, 1 deletiondrivers/parisc/sba_iommu.c
- drivers/xen/grant-dma-ops.c 1 addition, 1 deletiondrivers/xen/grant-dma-ops.c
- drivers/xen/swiotlb-xen.c 1 addition, 1 deletiondrivers/xen/swiotlb-xen.c
- include/linux/dma-map-ops.h 1 addition, 1 deletioninclude/linux/dma-map-ops.h
- kernel/dma/mapping.c 2 additions, 2 deletionskernel/dma/mapping.c
Loading
Please register or sign in to comment