[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YlE54Cs0mi0WDPo7@ravnborg.org>
Date: Sat, 9 Apr 2022 09:46:40 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Randy Dunlap <rdunlap@...radead.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>
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.
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
Powered by blists - more mailing lists