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>
Mon, 17 Mar 2025 05:06:31 +0000 (22:06 -0700)
commit2560c8c3f41d7a53e1554d1e4f207bf966e7527f
treeeb075dd9bbdb6821b3667a1180bb69c0f5b51571
parent474fe91f213a400334d41397de1a447560be76a6
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