]> Gentwo Git Trees - linux/.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>
Sun, 23 Feb 2025 06:25:52 +0000 (22:25 -0800)
commitcbbac74326a3c6934cc5643bea891e14eaefdffa
treeb5307f1414c3710ad14e51eea8fdd03c5d5c7f7e
parent4d4cab9d73481afa690c8e476f03edb6b3f2e1c9
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