From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17941C433EF for ; Thu, 27 Jan 2022 14:00:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242015AbiA0OAf (ORCPT ); Thu, 27 Jan 2022 09:00:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241913AbiA0OAe (ORCPT ); Thu, 27 Jan 2022 09:00:34 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF564C061751 for ; Thu, 27 Jan 2022 06:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=gBGITkfIunbEoV1e27SDyy1KmsKjH8Nm3KYduSoAfDA=; b=Syad0HX5ez35G0TzuGzTkI6zHj O7yIRtoNzaxGhoaWeCQZEWGzT2yvDAv2xV2luitje0tfDHo9nKrAdteeUBJ7/7UpylgR2WSEbTDgf V0G5EyEC2DwiSvXow+8zzfjdYGYXdi6cBmWet/DvH4joVZD7GlylS6qgFJ0SvQ3qnGhCZhH0L9Hce s9csYHLrTJQNoVZcjWuTAlElBA3T0eSachBfaD+XEz3UzdaseffgxzMVwWwFC3DKUPQgEkmQqT4R9 bLWPFlJ/BiBV3pdi5UFYsdrCCxB+CSo1FFbn33d63a4klJ3ONFyqZM4OQ0jt0oMvLHGrGrEY/qso6 1jRq9STg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nD5KA-005IHE-4q; Thu, 27 Jan 2022 14:00:30 +0000 Date: Thu, 27 Jan 2022 14:00:30 +0000 From: Matthew Wilcox To: Karolina Drobnik Cc: linux-mm@kvack.org, akpm@linux-foundation.org, mike.rapoport@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/16] tools/include: Add cache.h stub Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 27, 2022 at 02:21:24PM +0100, Karolina Drobnik wrote: > +++ b/tools/include/linux/cache.h > @@ -0,0 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef _TOOLS_LINUX_CACHE_H > +#define _TOOLS_LINUX_CACHE_H > + > +#define L1_CACHE_SHIFT 5 > +#define L1_CACHE_BYTES BIT(L1_CACHE_SHIFT) > + > +#define SMP_CACHE_BYTES L1_CACHE_BYTES > + > +#endif You've added an implicit dependency on include/vdso/bits.h which seems unpleasant ...