change alloc_pages name in dma_map_ops to avoid name conflicts
authorSuren Baghdasaryan <surenb@google.com>
Thu, 21 Mar 2024 16:36:39 +0000 (09:36 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:55:53 +0000 (20:55 -0700)
commit8a2f11878771da65b8ac135c73b47dae13afbd62
tree9efe09351742efce3062ebd669eec6ae70b86b9e
parentccdabb1d7f7a09810495ac57c0154a9913791dd2
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>
13 files changed:
arch/alpha/kernel/pci_iommu.c
arch/mips/jazz/jazzdma.c
arch/powerpc/kernel/dma-iommu.c
arch/powerpc/platforms/ps3/system-bus.c
arch/powerpc/platforms/pseries/vio.c
arch/x86/kernel/amd_gart_64.c
drivers/iommu/dma-iommu.c
drivers/parisc/ccio-dma.c
drivers/parisc/sba_iommu.c
drivers/xen/grant-dma-ops.c
drivers/xen/swiotlb-xen.c
include/linux/dma-map-ops.h
kernel/dma/mapping.c