Re: [PATCH] sparc: cacheflush_32.h needs <linux/mm.h>

From: Sam Ravnborg
Date: Sat Apr 09 2022 - 03:47:04 EST


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