From patchwork Sat Dec 16 03:35:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Overstreet X-Patchwork-Id: 179788 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp17954dyi; Fri, 15 Dec 2023 19:38:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIPc+AbujQljZEFucFi16XAVxG1RAIX9SIcZNjuhEtjywm2oFHo3neT8ScL//dcIHDgnk+ X-Received: by 2002:a05:6870:fb86:b0:203:11ec:b242 with SMTP id kv6-20020a056870fb8600b0020311ecb242mr8552071oab.8.1702697917872; Fri, 15 Dec 2023 19:38:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702697917; cv=none; d=google.com; s=arc-20160816; b=rwsV0CX6vxa2+lkw9hd2/hCzxWHm0kJIPbv3OobpT3bHKHV8w3nxan4XRoBmNixn3u Q8sIYBMxLfkxjBSvOnzmdHLFOHpk0zZAYMkIeeVYRG+wvY8ROSWwhwW0x655eMAq4szs YFBoIj0sXSCJpwlFTmCjGbqyxGQ0qjEq8GC6gQz5fwXCknUd44m73Ay08A1cl51WbR2H OioTrFDglbcFFXRRS4HHU1+bgo/lPhmNWV9pSiZUrMXqXcV5noM1fjRCuJN1D7zq+UEE AV5CIYiKCL6lOs9WXqUAnSARFYche2ged+k19ixCqMi05+L2ki9Cm2lV1ZdHSAXP3jiP QZeA== 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=Lx23CvYqmL3FO1BOdwPl48m+Gd9mJQDDIFCAY3/8fI0=; fh=vHhjxHftTECn/hRvIWNlq1eDzDsn74Roqz0kmRcPgcE=; b=LrhcQu9VASFuzeR89+vBd2535k4MYCnYuDoKVJT8OB+Eiewm6WIWQ4WJ7BXqiMTq66 20aUGkjATq022qeAgQJDDjvQ1jJY2F6LG/FQjxA4+ZbXuyeS9WjKCz0k2YootHIbPuJs H50xrJthe87R7hzlHtflPEyMArX0Nmn9Fqgsen9oQYLQsEBao41j09klGktUXkfNmemt VICYhC+Cy9BNXWPk7PGbjmHO9GzeoId4uQUELnllM0BWpzNK50yw+wJQQUyl2Y1A6TrB gyriZ7L2LnkJS2kjG+ixvjEYV9HI0C4FrXtjpyqlfG8AQG6MigZYyGOuQc2vrIz4zX5C NjgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=o5z+wqYo; spf=pass (google.com: domain of linux-kernel+bounces-2023-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2023-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v34-20020a634662000000b0058afac51c12si14001480pgk.545.2023.12.15.19.38.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 19:38:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2023-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=o5z+wqYo; spf=pass (google.com: domain of linux-kernel+bounces-2023-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2023-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7385E2819A2 for ; Sat, 16 Dec 2023 03:38:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1393510956; Sat, 16 Dec 2023 03:36:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="o5z+wqYo" X-Original-To: linux-kernel@vger.kernel.org Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [95.215.58.174]) (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 5A9B246BD for ; Sat, 16 Dec 2023 03:36:07 +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=1702697763; 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=Lx23CvYqmL3FO1BOdwPl48m+Gd9mJQDDIFCAY3/8fI0=; b=o5z+wqYoQdVXnS6r4OdqyH4lRXwr0g2HIUjv8a7lcCqCHk8hjzGHrHivbx+/4XXYNf+9iX jsKIbs3P6Pz4RkTLhnbgRjwjpqqommU0D4BNVnMaAIh4umFxfUm48xktMPocCRXv+mkS6J CEJBFfkTi5mQDSL7GRewP4jN4NPtyhI= From: Kent Overstreet To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Cc: Kent Overstreet , 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 44/50] restart_block: Trim includes Date: Fri, 15 Dec 2023 22:35:45 -0500 Message-ID: <20231216033552.3553579-1-kent.overstreet@linux.dev> In-Reply-To: <20231216024834.3510073-1-kent.overstreet@linux.dev> References: <20231216024834.3510073-1-kent.overstreet@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785408171608044300 X-GMAIL-MSGID: 1785408171608044300 We don't actually use any timekeeping types, no need to pull in time64.h. Also, sched.h uses restart_block; add it as a direct dependency. Signed-off-by: Kent Overstreet --- include/linux/restart_block.h | 2 +- include/linux/sched.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h index 980a65594412..13f17676c5f4 100644 --- a/include/linux/restart_block.h +++ b/include/linux/restart_block.h @@ -7,8 +7,8 @@ #include #include -#include +struct __kernel_timespec; struct timespec; struct old_timespec32; struct pollfd; diff --git a/include/linux/sched.h b/include/linux/sched.h index 98885e3a81e8..ec739277c39b 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include