Message ID | 20231216032651.3553101-4-kent.overstreet@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-1989-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp15327dyi; Fri, 15 Dec 2023 19:28:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJJhu6dSSFDeOb/v2BbahYx5pLwXWebIEY0WwBFCeT7xjr2Dhm+EutT6jtQnWnG53HDLiO X-Received: by 2002:a0c:fb09:0:b0:67e:fa34:42db with SMTP id c9-20020a0cfb09000000b0067efa3442dbmr5849507qvp.85.1702697295129; Fri, 15 Dec 2023 19:28:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702697295; cv=none; d=google.com; s=arc-20160816; b=DoAiWYN/qWXDlui3WEvtIzvb0wEXc89stP0fjRHhI7zlozh909D5vupXRLPjswSkzd xnDx0163rAwy+raPOslCUrDWBgd2e5DjHZr3O0yTqpEldaatCJhGa2mfxocTK9x4wRcq 99u0VNGHSAKImz3IHJpzDCsgtJLtX6MtG3LQLd0kcUFezHFVQxvE0+iDewcyvh0yNbLd Ji+Fek+pnCZ0hOjd5rhL1clEyHpgnUGshe/vPjmOGBMpj/ngB9RKqkXQpn3NogCPlpUu ZKXu//MIc3ZnqRwjVJGMBued5sjRdmLMOK5d6LAW0mBbbeSBXLnvlv8ITvlsqdBBSH1R 1JbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=zpoxfZnH1zvydvdDW1QJhiT7zX694y7B1QC5S7LSZOk=; fh=UHNV9TZK4dO3ZOCeSzLqPpHLc+1b0gW9vBA4UD4scoU=; b=HK3GceHCVLQyDqwuRcIu5zqA6sCINsKc1M3tbOVDx/461VO19kdwjIljZHvW7IJdgO xFA6hWn0glxNri5FNR2Y9WAe+AOrBwC2CZrBHOjeu4AFL0DMboyt8GkU+y7RF9LFtqYx T/WLYd6U0/s4NO5H6lVyA1/nDuQCOpUIag4uHSVinHcgWga5Klfos/AzU2gIglNoVYRm igWiaorVgFbgfg4Gp2R6qcs6BBi3KhOEoAbug8pJESScqYVbW+naua13+K/kxeSXx1j6 tRwadPTiOyakuQmC9NOjIrMGxNg7PgFlbjRRogybZz62w1FgHmkt+Z1aYxekKkh5Ecuc cz9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=SdRdz3jj; spf=pass (google.com: domain of linux-kernel+bounces-1989-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1989-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a14-20020a0cca8e000000b0067f0ea940f3si4497456qvk.94.2023.12.15.19.28.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 19:28:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1989-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; dkim=pass header.i=@linux.dev header.s=key1 header.b=SdRdz3jj; spf=pass (google.com: domain of linux-kernel+bounces-1989-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1989-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 BBD0A1C248B5 for <ouuuleilei@gmail.com>; Sat, 16 Dec 2023 03:28:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D4451428D; Sat, 16 Dec 2023 03:27:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="SdRdz3jj" X-Original-To: linux-kernel@vger.kernel.org Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.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 4839210A2B for <linux-kernel@vger.kernel.org>; Sat, 16 Dec 2023 03:27:09 +0000 (UTC) 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 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=1702697227; 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: in-reply-to:in-reply-to:references:references; bh=zpoxfZnH1zvydvdDW1QJhiT7zX694y7B1QC5S7LSZOk=; b=SdRdz3jjkXfPhyrOL4LTnWj3BXcRnESTUqNViRckkPo0dKx2FGG8Di0nnUTne/EgA7snyN rXzCLOum8bG54vUER7uqNiuZf6Aak/aa6SLQvVoLppW95Ih0nuio5r+RgJCry3AmxdnF1Q AqOvePtZOxsJY9Z3fmb/zpfCkmixM30= From: Kent Overstreet <kent.overstreet@linux.dev> To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Cc: Kent Overstreet <kent.overstreet@linux.dev>, tglx@linutronix.de, x86@kernel.org, tj@kernel.org, peterz@infradead.org, mathieu.desnoyers@efficios.com, paulmck@kernel.org, keescook@chromium.org, dave.hansen@linux.intel.com, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com, brauner@kernel.org, Suren Baghdasaryan <surenb@google.com> Subject: [PATCH 14/50] arm64: Fix circular header dependency Date: Fri, 15 Dec 2023 22:26:13 -0500 Message-ID: <20231216032651.3553101-4-kent.overstreet@linux.dev> In-Reply-To: <20231216032651.3553101-1-kent.overstreet@linux.dev> References: <20231216024834.3510073-1-kent.overstreet@linux.dev> <20231216032651.3553101-1-kent.overstreet@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785407518932720324 X-GMAIL-MSGID: 1785407518932720324 |
Series |
big header dependency cleanup targeting sched.h
|
|
Commit Message
Kent Overstreet
Dec. 16, 2023, 3:26 a.m. UTC
Replace linux/percpu.h include with asm/percpu.h to avoid circular dependency. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Signed-off-by: Suren Baghdasaryan <surenb@google.com> --- arch/arm64/include/asm/spectre.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/include/asm/spectre.h b/arch/arm64/include/asm/spectre.h index 06c357d83b13..0c4d9045c31f 100644 --- a/arch/arm64/include/asm/spectre.h +++ b/arch/arm64/include/asm/spectre.h @@ -13,8 +13,8 @@ #define __BP_HARDEN_HYP_VECS_SZ ((BP_HARDEN_EL2_SLOTS - 1) * SZ_2K) #ifndef __ASSEMBLY__ - -#include <linux/percpu.h> +#include <linux/smp.h> +#include <asm/percpu.h> #include <asm/cpufeature.h> #include <asm/virt.h>