From patchwork Mon Dec 18 12:33:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Jinchao X-Patchwork-Id: 180355 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1206125dyi; Mon, 18 Dec 2023 04:34:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlRSwf9pUF1Vu5E2sTp2RdwC71BT4xlXet3JN8WNvyfajCXfA6cMNGUXVUcz6MnnckmrCv X-Received: by 2002:a05:6358:91aa:b0:170:ec2e:4373 with SMTP id j42-20020a05635891aa00b00170ec2e4373mr10395503rwa.6.1702902882380; Mon, 18 Dec 2023 04:34:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702902882; cv=none; d=google.com; s=arc-20160816; b=LpZRoBWEfbILnNwyFaJlRISci3Pgpew/86/xKCnmLiFm62ntJs/X4eFFVEO2S6HUeX ZrL3r0AhZFvEQwVhYW1c3QMrSNmFimp6gGDv33j9zCVU8Ug8C6hWXZEI2Xw9ZURcNgQn CCWXm6cV+4n+ZhlZM9MweIMulxILLyh3ADJI3NkXpKbQoCN3lqp0SgcXi5BjUps6vI2b 24fkTmC57A3ajDByOgRG9XBtS6mG8gf+DgctmyTjRRINif2Pom62uBgMpg1otC9v+pDg 4lyVy+B3CdqI4BoHqODUFvR+b5S7+OwgxsxRR5iDBV+lr/+f4AhDw0T+06z2b3p0FNLU vDtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date; bh=2KDtto1XVwy1bgKz5qP/XE8VEfuMOEDnuokhroVr2tc=; fh=mVqnWfOV8dMq4ycHHT2mBMAah2HCWayynH00lsizAKk=; b=hafqv7utkw0PONw1IS/hYyHSvI4bTPs3zHvNYCj5GFPtmaZ/nsPySvLSJCYLOJQNn+ b4V+o1Eh9hqtUMD0gJc+ARCw5SO0K1dD5LpoSIGEs81SYHnYgkqqjFAeaE7mtCoUUFR/ 6k0OTNlx4sJPFm2kCTa+hJGEgjNGIC/EJhNGiBmmqsQBrLu3Qq4D76RTjS1NcixCJW7c 0gy6gXI4Hlnzw7I7/kUaKU5fiyKLEN6pW5tVSlU4UxAI0ILVAm3BIOe1HPyYkUrKHQXb A2mJYFxngig4ZYDHUGAbL5QSgOdxovaiqHMqpY22khD10ctvqWD4KkQ3e01QqHKtp9jk FYBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-3571-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3571-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ct19-20020a056a000f9300b006d8010338dcsi1247139pfb.116.2023.12.18.04.34.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:34:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3571-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-3571-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3571-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8E61C2849A1 for ; Mon, 18 Dec 2023 12:34:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A59417D5FE; Mon, 18 Dec 2023 12:33:56 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from wxsgout04.xfusion.com (wxsgout03.xfusion.com [36.139.52.80]) (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 7DC5C41C7F for ; Mon, 18 Dec 2023 12:33:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=xfusion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xfusion.com Received: from wuxshcsitd00600.xfusion.com (unknown [10.32.133.213]) by wxsgout04.xfusion.com (SkyGuard) with ESMTPS id 4Stzg94Y9Kz9xn3d; Mon, 18 Dec 2023 20:30:13 +0800 (CST) Received: from localhost (10.82.147.3) by wuxshcsitd00600.xfusion.com (10.32.133.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 18 Dec 2023 20:33:39 +0800 Date: Mon, 18 Dec 2023 20:33:39 +0800 From: Wang Jinchao To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , , "H. Peter Anvin" , CC: , Subject: [PATCH v2] x86/setup: Remove duplicate header includes Message-ID: <202312182031+0800-wangjinchao@xfusion.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-ClientProxiedBy: wuxshcsitd00602.xfusion.com (10.32.132.250) To wuxshcsitd00600.xfusion.com (10.32.133.213) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785623092746117622 X-GMAIL-MSGID: 1785623092746117622 efi.h and spec-ctrl.h are included twice. Remove the duplicate entries. Reviewed-by: Sohil Mehta Signed-off-by: Wang Jinchao --- V2: Adopt Sohil's suggestion to modify the comments. V1: https://lore.kernel.org/lkml/202312151755+0800-wangjinchao@xfusion.com/ arch/x86/kernel/setup.c | 1 - arch/x86/kernel/smpboot.c | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 1526747bedf2..f6152c6b139a 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -37,7 +37,6 @@ #include #include #include -#include #include #include #include diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 2cc2aa120b4b..45057860e034 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -87,7 +87,6 @@ #include #include #include -#include /* representing HT siblings of each logical CPU */ DEFINE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);