cma: move __cma_declare_contiguous_nid() before its usage
Patch series "cma: factor out allocation logic from
__cma_declare_contiguous_nid", v2.
We've discussed earlier that HIGHMEM related logic is spread all over
__cma_declare_contiguous_nid(). These patches decouple it into helper
functions.
This patch (of 3):
Move __cma_declare_contiguous_nid() before its usage and kill forward
declaration.
Link: https://lkml.kernel.org/r/20250703184711.3485940-1-rppt@kernel.org
Link: https://lkml.kernel.org/r/20250703184711.3485940-2-rppt@kernel.org
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Acked-by: Oscar Salvador <osalvador@suse.de>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: Pratyush Yadav <ptyadav@amazon.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>