lkml.org 
[lkml]   [2022]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] sparc: cacheflush_32.h needs <linux/mm.h>
From


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

\
 
 \ /
  Last update: 2022-04-09 17:12    [W:0.046 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site