Re: next: sh: mm/cache-sh4.c:250:51: error: too few arguments to function 'folio_flags'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 28, 2024 at 11:46:12AM -0700, Andrew Morton wrote:
> --- a/arch/sh/mm/cache-sh4.c~sh-remove-use-of-pg_arch_1-on-individual-pages-fix
> +++ a/arch/sh/mm/cache-sh4.c
> @@ -247,7 +247,7 @@ static void sh4_flush_cache_page(void *a
>  		 * another ASID than the current one.
>  		 */
>  		map_coherent = (current_cpu_data.dcache.n_aliases &&
> -			test_bit(PG_dcache_clean, folio_flags(folio)) &&
> +			test_bit(PG_dcache_clean, folio_flags(folio, 0)) &&

Yup.
https://lore.kernel.org/linux-mm/ZgRqLDP7yVCT2dnh@xxxxxxxxxxxxxxxxxxxx/




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux