Message ID | 20231216033552.3553579-5-kent.overstreet@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-2027-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp18064dyi; Fri, 15 Dec 2023 19:39:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IH51SFAZFipOnFAd3yaubuioCspdPMJ1aJA1u8yObGRpimpwFQ6l6faKByDtcodgPiaGisR X-Received: by 2002:a05:651c:1a0f:b0:2cc:1da0:9f1 with SMTP id by15-20020a05651c1a0f00b002cc1da009f1mr2512667ljb.12.1702697945809; Fri, 15 Dec 2023 19:39:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702697945; cv=none; d=google.com; s=arc-20160816; b=D5OrpUAmBfpvHCDw+27gvEpWepo/5yMfKAwNKlbc0EeS3B2+f6C8iEv/Zx7/SoeH11 YzD6ZRRJwDU0+Hh4k3T61L5TG4Gh3oqLFUmzyOTvQYYWhYiMXGvdtdxPVRg0kARIxgdT /vOjyu+oMnBMvP3lm72BH2yeNBz3f9eb+cCsXIS1gnxnDQzjs93g7eERvautj6Izdckl 0rE+CEHMqnK1JpseqYnRaLn3RGlOBUduT7sAQc/sqRMZQmjV8WZHQ3qqvR1ixSSCV9cw ohFg5cGgCLQLTlGPZQ/3+Lld89W8LEwVwjpGj17JxaZLklogpYhVmHHPdjv86fcg31Ph 9ifg== 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=LxvqaxrdjqIZpV18yuEOiGDA6WPBowU+ZtiCF/cYqpM=; fh=vHhjxHftTECn/hRvIWNlq1eDzDsn74Roqz0kmRcPgcE=; b=hh2MywfOACKldhkglCEDOrJI2aEkswKi/oodAjqHhg6UJcFBC4gnzkVQTIS3vtpTgK QZw281Ii64ZWWldwxTWqzFaz7nEvkgii7LlsAyMuCeAHOyp3Elce2LLuIe+8tHyLfJG0 NWblttbyMQZSd5G2o1K5eVQyiWLm0eRgE3Tfo2h9FMig+YVxMV549ULxGylLwTDxUD8s 1ebSiqIVVbVgkzK0eRLIe93hSuaaOAuSOcLbEhUWXmbuJsI8lymz1iEUZ/28eaRs1YXW eFVvXZ/JOVR0A5Nf/Sv3ktGHBEzUQGmvhZDYjSsN8uppWYjtVrJNuPHI0LocvSzpfmJr zS8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=eq5ynikG; spf=pass (google.com: domain of linux-kernel+bounces-2027-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2027-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m29-20020a50931d000000b005527b37050esi1953287eda.163.2023.12.15.19.39.05 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 19:39:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2027-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=eq5ynikG; spf=pass (google.com: domain of linux-kernel+bounces-2027-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2027-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6A1691F20FBB for <ouuuleilei@gmail.com>; Sat, 16 Dec 2023 03:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AECBB17729; Sat, 16 Dec 2023 03:36:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="eq5ynikG" X-Original-To: linux-kernel@vger.kernel.org Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 DB69D1118E for <linux-kernel@vger.kernel.org>; Sat, 16 Dec 2023 03:36:12 +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=1702697771; 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=LxvqaxrdjqIZpV18yuEOiGDA6WPBowU+ZtiCF/cYqpM=; b=eq5ynikG7aXEh6Wl2qNFNspAUNLPUKuuSZkYAM8mRcc9I/D6+KXkpqCFFkaUh5XcyNu/wI 0jDvO1DVSEpdKkrdnhXCQ7HWBiE/jFlguUb9/g3KueG54u3XtLojaST1LNOYUbnJAtKg18 R/xt9RtELiUb0ZrPxw3JBXxl7/TUMKk= 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 Subject: [PATCH 48/50] Kill unnecessary kernel.h include Date: Fri, 15 Dec 2023 22:35:49 -0500 Message-ID: <20231216033552.3553579-5-kent.overstreet@linux.dev> In-Reply-To: <20231216033552.3553579-1-kent.overstreet@linux.dev> References: <20231216024834.3510073-1-kent.overstreet@linux.dev> <20231216033552.3553579-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: 1785408201247820460 X-GMAIL-MSGID: 1785408201247820460 |
Series |
big header dependency cleanup targeting sched.h
|
|
Commit Message
Kent Overstreet
Dec. 16, 2023, 3:35 a.m. UTC
More trimming down unnecessary includes.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
---
arch/x86/include/asm/current.h | 1 +
arch/x86/include/asm/percpu.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/current.h b/arch/x86/include/asm/current.h index a1168e7b69e5..dd4b67101bb7 100644 --- a/arch/x86/include/asm/current.h +++ b/arch/x86/include/asm/current.h @@ -2,6 +2,7 @@ #ifndef _ASM_X86_CURRENT_H #define _ASM_X86_CURRENT_H +#include <linux/build_bug.h> #include <linux/compiler.h> #ifndef __ASSEMBLY__ diff --git a/arch/x86/include/asm/percpu.h b/arch/x86/include/asm/percpu.h index 20624b80f890..5e01883eb51e 100644 --- a/arch/x86/include/asm/percpu.h +++ b/arch/x86/include/asm/percpu.h @@ -24,8 +24,8 @@ #else /* ...!ASSEMBLY */ -#include <linux/kernel.h> #include <linux/stringify.h> +#include <asm/asm.h> #ifdef CONFIG_SMP #define __percpu_prefix "%%"__stringify(__percpu_seg)":"