Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5738222rwr; Mon, 1 May 2023 10:02:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Mgx/pUfkyhV8I1sVdQ38zms0sepSEsxW0fcdTjxgPfTOU0pBH55iLoOPewCGIjWo+Kwp6 X-Received: by 2002:a17:903:2352:b0:1a6:413c:4a3e with SMTP id c18-20020a170903235200b001a6413c4a3emr18198546plh.5.1682960525985; Mon, 01 May 2023 10:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682960525; cv=none; d=google.com; s=arc-20160816; b=MvU8+PEfi7y8b2iFpvgWL+MrGiDxbY1zeXsR6e/4Z1q89GPQAOyo2LqSvuiPj9peBD RrLfd30T/vl2bj7AgSNnYbqRfBN0SdlylH4btKWt1YAO/etqIpc5mPoiOSqr5Bami/ue cQDHWQl2DP8pK5kbMr851J07FkPCoWdHtAeXBG1+vERWyWLx7DXm92+Lf1N/L8iEbldd /+s43TIBkrWD1ABje4h6gumD1dFk5ZQ42PHEHRAiRd4/6TWsCxO9YP0STu4FrY6ON4u4 +To9KF4KnmIJOyJH3Hj5WAnRKVfaRMfle0eGeACUVFUnCfdl5MA81BCHIm6biMdR6EJy QOSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=jz3+CZtZwJ9/tSYfHBM/2MHA9DEGGjB4zlxzO096/9Q=; b=kk5dfNIGcbOKC4SO17DJ7zaO0sWcuJUSSWLstPAJiOopQX66JFzdUMllra/qTlIj7k 7wwacnL2/NA1g9KXVF5Zh12ZgNK3rqepq3OVqhslg+sjRq8tWqjsebGQZGCRP4/pmrFk 3KH2aR+5e7Sd1kj5856uIxCE/8+o2rG0wMWGf+9NdK0eCnDy7FfHQr5gUoamrwxUb+Jl NcewT3YGButrPvlVwOf9c6TcIEh+v/4Ao9Wrx1n6ZGxnCaNlckWWyE7CBlC4HPyRZLKY 5CfiiNQxTCC7hJzhq1jzJnCN376T0Zy2D44wEvKKlc0xsFDDBLQMQk5eCP/VTssTuOl5 H3sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=Glr4JSHs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a170902db0500b00194bcc88b52si30132825plx.363.2023.05.01.10.01.47; Mon, 01 May 2023 10:02:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=Glr4JSHs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232991AbjEARBO (ORCPT + 99 others); Mon, 1 May 2023 13:01:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233005AbjEAQ7n (ORCPT ); Mon, 1 May 2023 12:59:43 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5998135B1 for ; Mon, 1 May 2023 09:56:31 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-b9a7d92d0f7so4769979276.1 for ; Mon, 01 May 2023 09:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682960172; x=1685552172; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=jz3+CZtZwJ9/tSYfHBM/2MHA9DEGGjB4zlxzO096/9Q=; b=Glr4JSHsTmaAPI0AWP0PWNaIttgzeyDzPQx4tjZhzhm0zZ4p+1GCcCC3c3r4aXKXSp WIW7l4ONjqrOBXvjUIVll03e3w9s+YRWlCSxmsKNK9xzzAcM54D0O3+CWQoKF/ytzIvC kOX+0OA2rpltLDjWT1I86SdUtJ7gM1/iT7nXNjbfE5eIm0GIboQlBljhXdjDloTQNmLw 70IARjApWsmBCF7eSF3LKPA2bTZVurXLcycCJn2u8FXoQc4EQGTI1K+d32OJcow714/u 3R8ajXD58HPiHypeEQaSKmOGWRsxZiDT+trPafMrQwqkk9Lr9LEGmo4kscoUpmICusqi Lbwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682960172; x=1685552172; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jz3+CZtZwJ9/tSYfHBM/2MHA9DEGGjB4zlxzO096/9Q=; b=MPBcb+WmLSLJBTvJuFsmjsP4Jz1h1ORBvXxbiCnyRs0pBSEEWiQu7F47N7zhSOUY/j ldyOezzRnOoxCu++ZGwo6ipr4z+VUjA46LFSKaeLwCbsuSBa6g0L+nbrT5wn44/3AUNB AcO5M7jOxE+lvuStUAFFET/60amf6oI9rLJEOXfFAVcbEhoF+yhsU8XfHQQn8RPM2HsF 47Nx8hYzy6+vogNtTspntsugr7oPw8oQt/moEK4xUIlmi80Gp4jfxs6eCIFQcNP888d3 5+Hsl606qLpDtCHCUxViVdD8UCBxQi1LUybQGQ77VoZ3pyET4VXy+yKmk8cPWKLJ28Uv 5KSg== X-Gm-Message-State: AC+VfDxlyD8XQYsIHdwbKciVpg4Otw6YuNWmFPm0iCzCM40YATaY1VFB p8r+rf+NC7iZUTH/t1xVb36vRVzS/so= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:6d24:3efd:facc:7ac4]) (user=surenb job=sendgmr) by 2002:a25:1388:0:b0:b95:ecc5:5796 with SMTP id 130-20020a251388000000b00b95ecc55796mr5071137ybt.12.1682960171977; Mon, 01 May 2023 09:56:11 -0700 (PDT) Date: Mon, 1 May 2023 09:54:38 -0700 In-Reply-To: <20230501165450.15352-1-surenb@google.com> Mime-Version: 1.0 References: <20230501165450.15352-1-surenb@google.com> X-Mailer: git-send-email 2.40.1.495.gc816e09b53d-goog Message-ID: <20230501165450.15352-29-surenb@google.com> Subject: [PATCH 28/40] timekeeping: Fix a circular include dependency From: Suren Baghdasaryan To: akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, ldufour@linux.ibm.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, surenb@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kent Overstreet This avoids a circular header dependency in an upcoming patch by only making hrtimer.h depend on percpu-defs.h Signed-off-by: Kent Overstreet Signed-off-by: Suren Baghdasaryan Cc: Thomas Gleixner --- include/linux/hrtimer.h | 2 +- include/linux/time_namespace.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 0ee140176f10..e67349e84364 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/linux/time_namespace.h b/include/linux/time_namespace.h index bb9d3f5542f8..d8e0cacfcae5 100644 --- a/include/linux/time_namespace.h +++ b/include/linux/time_namespace.h @@ -11,6 +11,8 @@ struct user_namespace; extern struct user_namespace init_user_ns; +struct vm_area_struct; + struct timens_offsets { struct timespec64 monotonic; struct timespec64 boottime; -- 2.40.1.495.gc816e09b53d-goog