Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp62150rdh; Mon, 18 Dec 2023 04:34:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsB8xOrRLdF4LV8bRvbqqYPX/TX4lbZ/a91aLHqtnOIRRurKo5WLLLGkRyKUKuJmjsPUBU X-Received: by 2002:ad4:470f:0:b0:67a:a721:cb05 with SMTP id qb15-20020ad4470f000000b0067aa721cb05mr17902444qvb.102.1702902851072; Mon, 18 Dec 2023 04:34:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702902851; cv=none; d=google.com; s=arc-20160816; b=vAGuGG7dZ8RTcGuXq1zzw7ur/9uW+9MX5k9KO/ROhxp+YYosg46wawlNYEUa5p/jtt 9b7c89J8DiNZCPtu7uoee/Dxp+fLxPX0zDefLqNnvHpmrB3EGXA14kAD8vbljAkZJ6uA CYP5OxPHisxxq0stAnCoBc9O7eVnPcRBllm26ZO1Vm0aESaWU4T0uxN+j666bQtcVyjx 0z+VpGKNzgjfWcSD6LJdjtQNW7LqYZKteoF6JCiCSz6ly2CuSe/4ws1zTd3Y2BPIEcrH zM4osTlo3dhc877ks4V4TRojk+/vc+9O7WWxTdaYXxLZir4q0j8kdBCW8orMT9YBHdkQ fbEw== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3571-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a26-20020a0cb35a000000b0067f066b918esi10219506qvf.491.2023.12.18.04.34.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:34:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-3571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3571-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CEC131C22B66 for ; Mon, 18 Dec 2023 12:34:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 921DE7EFAA; Mon, 18 Dec 2023 12:33:55 +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-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-ClientProxiedBy: wuxshcsitd00602.xfusion.com (10.32.132.250) To wuxshcsitd00600.xfusion.com (10.32.133.213) 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); -- 2.40.0