From nobody Mon Feb 9 05:53:22 2026 Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (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 8E215257D for ; Wed, 25 Dec 2024 12:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735129862; cv=none; b=IiPdgnCYeMNWMaaNy2hCx7XxHXMhzwtlTOTTr3ZM8twUsuUzK4bO3w8+ljSX5BAtm6kTOBetgZcCaRSBv4T2gHbgfv/C6TaMwNHEsZE0KMmvNQKzLQemXj7qR/03ZcnPnKUtUJYFj0RE7KVZMOwIyeuQVCdsbmaZs6K/Jx4MbUc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735129862; c=relaxed/simple; bh=IhzTvZQ5/JnyLmz1GZ3s+OysaZtuzGXD2YJzpzZ+zDs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ltdz7yG1ajZfL5kjWbsUjnktWk9vrVK7CjKFg9PIhJ957mfZwBuov2HZmEpmiDJ6O5HO4gypvgdZ8Vf6Yu+wTZWloGPLy71n2Q2Yu3n3KXKC2hgNZEnkjJ7JZcFYsoNkdXQEBmDUMtlJyGfXRTpXtPKHINITSHNiVIj3XLW9uqI= 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=YuahlkVA; arc=none smtp.client-ip=95.215.58.176 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="YuahlkVA" 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=1735129857; 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=JnDxRMYeOjb3+jKB4rsWUCstOhOv6VUUSR79jXmWeQ8=; b=YuahlkVAUOdfSWEyxQ8wN0+wW2gcCD6iNkOz+W6DIoweKh/sdkWVHBIs0YbID+giJ/072Q dQdORGJR/gAD2LDpOuH9Q1gzDfv1roZ85A4NoMeNdSBz2eGmT9ldZbhORUxMXPqoe8aWSn mCTRsOSkuZcWZUffYxrFvXCJqbxx3rU= From: Thorsten Blum To: Russell King , Thorsten Blum , "Mike Rapoport (IBM)" , David Hildenbrand , Andrew Morton Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] arm/pgtable: Remove duplicate included header file Date: Wed, 25 Dec 2024 13:30:35 +0100 Message-ID: <20241225123037.444716-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 Signed-off-by: Thorsten Blum Reviewed-by: Mike Rapoport (Microsoft) --- 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.47.1