[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YfKlfoKXyFZxB/UD@casper.infradead.org>
Date: Thu, 27 Jan 2022 14:00:30 +0000
From: Matthew Wilcox <willy@...radead.org>
To: Karolina Drobnik <karolinadrobnik@...il.com>
Cc: linux-mm@...ck.org, akpm@...ux-foundation.org,
mike.rapoport@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 06/16] tools/include: Add cache.h stub
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 ...
Powered by blists - more mailing lists