]> 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>
Fri, 28 Feb 2025 01:00:20 +0000 (17:00 -0800)
commit94c97a02f87c2aee8f256745cd96990d86c5252a
tree447abe5dba1e98646a973f05f9bd3c2a63715d5d
parent83b2666ef207ebd9205a77b2b7094801b38e73db
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