Message ID | 20231216032651.3553101-2-kent.overstreet@linux.dev |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-1987-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp15219dyi; Fri, 15 Dec 2023 19:27:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPj5PqEKQn2H49YIa50Qd7/ByvW3MHwuzgPFS//SxJAJY/LvGC99zek2BCO52SaYJHldYV X-Received: by 2002:a05:6214:16f:b0:67a:db6e:cf5b with SMTP id y15-20020a056214016f00b0067adb6ecf5bmr13309687qvs.19.1702697264829; Fri, 15 Dec 2023 19:27:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702697264; cv=none; d=google.com; s=arc-20160816; b=g4htpeg2Had+8mDSOCoj8ad5DAUwwFzVbHI3+80u/lWt6w4DzTBaeOV77XUQM0ZuTI A653tgdy/p2dATvXDjJXGWJgS5N+ABAu3oCwrO+waWTGC0VUOEKGUw2vWXkeMZ1YqMNw 7jtAQzqbV9OQfNEA8oN3Vm0yRyvbQgSr/yiMy+NjoPCZlG36sxN45xu6yFmQBbrzU080 rvU8ZxrGPtS7vSYMVD6zDrIy6B2FDMc+OpRPi8twCWOCDcePhzn9rNxSMCSW7VUH3J+m fRkLe5Jab8TY22oz8Yi/xR2nsSy6T0vWxtPdQ9/OAh5xtdpmiqV7tOt86SkEhVgQJL4A 7OYw== 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=QDPDnE/n3acaAH2Hi2C6UZBa9A2W+MdxbP8jgc4Vp4w=; fh=UHNV9TZK4dO3ZOCeSzLqPpHLc+1b0gW9vBA4UD4scoU=; b=pq9dG7DFGTFNSbmoBgLpacPr6Y70Jnt7EbSr1gt/w0E69d/BbVZngJT0+dzkdsr1hJ BXnU4Cfcvt+uIPqxgSKcEuOShcgwh3vlV2NaxQi4W3VOoNNxVTdACuAXeNXcTOtqdGz+ BDhs6IFKlFpC/DN1k3SUDGTLzisS8yTc/vFTM9cGN5180XHa3sQ+YKshXz5Lmkd28kOU lCSnkAQc0Br8CxnV35LVLaTcza4B5jXaZHnW+t+N4HzmbjhqYI/Ue5Cxn0H5jHppFHlD vrcz9qeWudn1WBXeSeK2bYfGRVRkoguNaEbUy4PYW1TFeyCAh9NNvZp5htVqm5o0Bwvj dWhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=Kh8Zz0zS; spf=pass (google.com: domain of linux-kernel+bounces-1987-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1987-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 g5-20020a0ce4c5000000b0067f2a09a20csi169963qvm.487.2023.12.15.19.27.44 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 19:27:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1987-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=Kh8Zz0zS; spf=pass (google.com: domain of linux-kernel+bounces-1987-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1987-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 9E8A81C24725 for <ouuuleilei@gmail.com>; Sat, 16 Dec 2023 03:27:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDB8E111AD; Sat, 16 Dec 2023 03:27:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Kh8Zz0zS" X-Original-To: linux-kernel@vger.kernel.org Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (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 6D7396FCD for <linux-kernel@vger.kernel.org>; Sat, 16 Dec 2023 03:27:05 +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=1702697223; 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=QDPDnE/n3acaAH2Hi2C6UZBa9A2W+MdxbP8jgc4Vp4w=; b=Kh8Zz0zSVSO6t3QRCM0Q+ZaREhBd11qlcyiMp/lXjtRiQu4MVjyohcgZqxqXgj0W4CT/J3 yNBqYQCMBQcoijIjfcKzBmgz1djKE0nU/b08jNyfpEWKZErgI1Z3evP4+7bZl10wWaWjZV V3xUaZN3wreslTrvrNMw/8CQ5BOB+XY= 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 12/50] prandom: Remove unused include Date: Fri, 15 Dec 2023 22:26:11 -0500 Message-ID: <20231216032651.3553101-2-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: 1785407487012997962 X-GMAIL-MSGID: 1785407487012997962 |
Series |
big header dependency cleanup targeting sched.h
|
|
Commit Message
Kent Overstreet
Dec. 16, 2023, 3:26 a.m. UTC
prandom.h doesn't use percpu.h - this fixes some circular header issues. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Signed-off-by: Suren Baghdasaryan <surenb@google.com> --- include/linux/prandom.h | 1 - 1 file changed, 1 deletion(-)
Comments
On 12/15/23 19:26, Kent Overstreet wrote: > prandom.h doesn't use percpu.h - this fixes some circular header issues. > > Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> > Signed-off-by: Suren Baghdasaryan <surenb@google.com> > --- > include/linux/prandom.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/linux/prandom.h b/include/linux/prandom.h > index f2ed5b72b3d6..f7f1e5251c67 100644 > --- a/include/linux/prandom.h > +++ b/include/linux/prandom.h > @@ -10,7 +10,6 @@ > > #include <linux/types.h> > #include <linux/once.h> > -#include <linux/percpu.h> > #include <linux/random.h> > > struct rnd_state { In this header file: 22 void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state); so where does it get __percpu from?
On Sat, Dec 16, 2023 at 10:52:04AM -0800, Randy Dunlap wrote: > > > On 12/15/23 19:26, Kent Overstreet wrote: > > prandom.h doesn't use percpu.h - this fixes some circular header issues. > > > > Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> > > Signed-off-by: Suren Baghdasaryan <surenb@google.com> > > --- > > include/linux/prandom.h | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/include/linux/prandom.h b/include/linux/prandom.h > > index f2ed5b72b3d6..f7f1e5251c67 100644 > > --- a/include/linux/prandom.h > > +++ b/include/linux/prandom.h > > @@ -10,7 +10,6 @@ > > > > #include <linux/types.h> > > #include <linux/once.h> > > -#include <linux/percpu.h> > > #include <linux/random.h> > > > > struct rnd_state { > > In this header file: > > 22 void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state); > > so where does it get __percpu from? That comes from compiler.h -> compiler_types.h... cscope :)
diff --git a/include/linux/prandom.h b/include/linux/prandom.h index f2ed5b72b3d6..f7f1e5251c67 100644 --- a/include/linux/prandom.h +++ b/include/linux/prandom.h @@ -10,7 +10,6 @@ #include <linux/types.h> #include <linux/once.h> -#include <linux/percpu.h> #include <linux/random.h> struct rnd_state {