From nobody Sun Dec 14 13:56:09 2025 Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D03E1C1F10 for ; Wed, 19 Feb 2025 11:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739964271; cv=none; b=H/9KnnKZK0pyLsz2jUbkC5KaOjG7lb1KXWyXmAEJdkXbp+mUA/nF8Vqtasv2XnKqoVBxUgee3I9jhnxTbtIL3owGa0hmiDJO5pOWvKX/sbNoi4ht/or4uF7Xk3vyPQEzHwXkbJjqallSjQ9Ib9X0LL5U/K3jZNQH74adN4uNVtU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739964271; c=relaxed/simple; bh=l5ETErzgYEYP4uKaysgCjkIfKyA9pl0H4zoi5fXg/UE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=arzRzy5MXWC7+L20XXOVKrm19nifVeRXYPNTIrRL4qcrwMK/7w1QBz/dVoHUOAoY+kVsiVWGLd0A43FzuoR23DS4ekvNGIUsN9UtYIFarIUr686f7eNNvlhiNnLXxXe7QvmYqT+L3P5VvDl/D9L/3DBeinsxA6sW6kuZBKFIwIg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=SlF/kiXE; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="SlF/kiXE" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1739964267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=tjDbFbRwm3HhAGF25M09T2irsMdw4QN9fdCTcQJrGfg=; b=SlF/kiXEjlP6HlrFs11HBI9F7XgCptauWa2B87XST3dQ12yha6j5izpbBLr8BkRwPKMWni iCok8SlEmO6MiAkAFa50iK+AknonSi0ULWLpsbHvUcZ04vN9a/5V0OAa2vPs93l1jegfVn ZchL29wxS8QbRZdu6HYA0WfJt3i981M= From: Thorsten Blum To: Russell King , "Mike Rapoport (Microsoft)" , Andrew Morton , David Hildenbrand , Thorsten Blum Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] arm/pgtable: Remove duplicate included header file Date: Wed, 19 Feb 2025 12:24:02 +0100 Message-ID: <20250219112403.3959-2-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Mike Rapoport (Microsoft) Signed-off-by: Thorsten Blum --- arch/arm/include/asm/pgtable.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h index be91e376df79..6b986ef6042f 100644 --- a/arch/arm/include/asm/pgtable.h +++ b/arch/arm/include/asm/pgtable.h @@ -19,14 +19,13 @@ extern struct page *empty_zero_page; #define ZERO_PAGE(vaddr) (empty_zero_page) #endif =20 -#ifndef CONFIG_MMU - #include + +#ifndef CONFIG_MMU #include =20 #else =20 -#include #include #include =20 --=20 2.48.1