From nobody Sun Feb 8 18:27:25 2026 Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [95.215.58.174]) (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 1BBD6745F2 for ; Mon, 2 Dec 2024 15:49:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733154547; cv=none; b=qc2ff1R2ic3gsVUAJFx4pqzA1YNcOPs29MMbBNVbBMzq1q2Tv+43Ynru3jfhdSRsl29D3oT8KGeANzSdABi1oRxUN3sKVcjQxEJmo6+Ud8kFisjjo7Bm2gbzjZAzRyCCUGPDer/sXYDt2sfjIxgXtfUax9FdL4tsxcU3V30hfRg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733154547; c=relaxed/simple; bh=PvVRFc17KBl0HuETq2wYDb3pI0+SysSE/C2/Z7gJPXA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nHPUXrs9KA4KXe0wsra7Z7PCbUPPdOSXGZEGzexzNh/41roMzbePkVdEQ55bFNg+wojA0sGoZ/ybIdf3awM5DbJqMY36O6bq34QO4WJQvC15seSLPxa9/22DqlFxbiCF8jta7ZymQlyaekqKVUkWoxbiX3dtasRI4VynIn6VFyw= 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=rb+Fn9RI; arc=none smtp.client-ip=95.215.58.174 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="rb+Fn9RI" 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=1733154543; 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=uD9wlcdgr+495Yqpkm0OP1E+ksdFV3b6uUdgVFXlDZI=; b=rb+Fn9RI73OPUdp0Aw7Ih3CNOchIpr1oU6wHZlag1lyPnQekT89D7ruSOAtevwdaOPW9nw nIEbKrTsfSN3ZRhIGU40BkAlxd5DifmppRfeul78L8n6oykj3JvT8BhwnuG9mbWJ6AR0Ls 2HLz84bW+1lWfj3wcHPRb/4M0WobZhg= From: Thorsten Blum To: Russell King , Palmer Dabbelt , "Mike Rapoport (IBM)" , Andrew Morton , David Hildenbrand , Alexandre Ghiti Cc: Thorsten Blum , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm/pgtable: Remove duplicate included header file Date: Mon, 2 Dec 2024 16:48:39 +0100 Message-ID: <20241202154840.1343-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 --- 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.0