]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm/pgtable: remove duplicate included header file
authorThorsten Blum <thorsten.blum@linux.dev>
Wed, 19 Feb 2025 11:24:02 +0000 (12:24 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 4 Mar 2025 05:50:19 +0000 (21:50 -0800)
commit158a3a681c68a4b290d87d0a3a535ccdfe1d9225
tree4846ec886cee1127834186cbc31c401a5bcb13e2
parentfce5ccf2e88e317f56ce19c22715fca0112cda67
arm/pgtable: remove duplicate included header file

The header file asm-generic/pgtable-nopud.h is included whether CONFIG_MMU
is defined or not.

Include it only once before the #ifndef/#else/#endif preprocessor
directives and remove the following make includecheck warning:

  asm-generic/pgtable-nopud.h is included more than once

Link: https://lkml.kernel.org/r/20250219112403.3959-2-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm/include/asm/pgtable.h