[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ea594b7a-22d5-ba39-6e83-921f98fa76a5@infradead.org>
Date: Sat, 9 Apr 2022 08:11:37 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Sam Ravnborg <sam@...nborg.org>
Cc: linux-kernel@...r.kernel.org, kernel test robot <lkp@...el.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>,
sparclinux@...r.kernel.org
Subject: Re: [PATCH] sparc: cacheflush_32.h needs <linux/mm.h>
On 4/9/22 00:46, Sam Ravnborg wrote:
> Hi Randy,
>
> On Fri, Apr 08, 2022 at 11:02:15PM -0700, Randy Dunlap wrote:
>> Add <linux/mm.h> to cacheflush_32.h just as in cacheflush_64.h.
>
> Just add a forward declaration like this to fix it:
>
> struct page;
>
> No need to pull in a header file when a forward is enough.
Sure, will do.
> Maybe we could simplify sparc64 in a similar way, but that is another
> patch and it may require extra work in other files anyway.
>
> Sam
--
~Randy
Powered by blists - more mailing lists