From patchwork Fri Dec 15 09:55:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Jinchao X-Patchwork-Id: 179141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9156834dys; Fri, 15 Dec 2023 01:56:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IE7QaRjXYdb2pOCDTQ0ggBcFBeoambbNqJpGb/Fe2ebVhISqVxLLsoE+9tFhkXRgUhdheva X-Received: by 2002:ac8:5747:0:b0:423:8a45:2508 with SMTP id 7-20020ac85747000000b004238a452508mr16538650qtx.29.1702634163949; Fri, 15 Dec 2023 01:56:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702634163; cv=none; d=google.com; s=arc-20160816; b=m3XI60yeYWyQe0GH7NeFJrEKL7U3yPOaA4RorsrF745c/UdH2uxUJRX1G/1spmV9t9 anYoAOej4fdgDjvmZpYpEOkHlFT+23i56pS4Eup+xbn78pW/X2JuGmnD3SUhCh9PTeJ+ Gl5t2lfkDyNmQP3XeDdCUpi3rto262be3lurZN1EaXoAiNp6tcrVDpZFJxPr1CfLhdHf pHSoxG/wNUG/iZzt+ym2IePRnUp5P9HodMtza/T7wJOFyYt554InV5k+Plb1ndSelhpw gWmGTVSrDh1pmNWY+LcKderjR+HtCdiPslBJ4beuYmFB9DRzFZT1US9/A8w5J4bc5MZd r0xw== 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=RAa4G/nhx/OIaF/Tte0rLxsHX5bYUw2UbIobioeSOrA=; fh=mVqnWfOV8dMq4ycHHT2mBMAah2HCWayynH00lsizAKk=; b=iwXDEf0lUZDcRZ66lPPxNF0C6Mm4qQRcJmoHQC5Nr+eb7qoek+tqsG6wz7giU9obMi KSt6QQLPlVkYPQsaJs38G+82rH8j/U2EMhNnm4X/WnXPMmY8R4rCG/0yNgz1KyxenvYo aVHCQ9KWcyYkAb+7REeq+LFnEv8OzzPqU1Dwv8hAWlzX33YaPt4E1p3VbEN63Q3P78Jn 11vmkQb2igTei3K7vLCxgBhKtaKm4Gv+cgUBWECJAh6/uvar2ZtSNfBNpNrhs8BXW8qc 0nxS0sow86TY7V+5cWdvCkIDxeocfWf8MtoO8qnVLFkNxDUKIxshGyXN5wbDw6Z6DNUL BaBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-708-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-708-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s29-20020a05622a1a9d00b004236e4bcc81si17955391qtc.543.2023.12.15.01.56.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 01:56:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-708-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-708-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-708-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BD3CC1C22220 for ; Fri, 15 Dec 2023 09:56:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6ECB1A71F; Fri, 15 Dec 2023 09:55:41 +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 7156E199C5 for ; Fri, 15 Dec 2023 09:55:38 +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 4Ss4JC5WFwzB1wtN; Fri, 15 Dec 2023 17:52:11 +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; Fri, 15 Dec 2023 17:55:34 +0800 Date: Fri, 15 Dec 2023 17:55:34 +0800 From: Wang Jinchao To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , , "H. Peter Anvin" , CC: , Subject: [PATCH] x86/setup: remove duplicated including Message-ID: <202312151755+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: 1785341320996257338 X-GMAIL-MSGID: 1785341320996257338 rm the second #include in setup.c rm the second #include in smpboot.c Signed-off-by: Wang Jinchao Reviewed-by: Sohil Mehta --- 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);