Re: [PATCH v2] MIPS: mm: remove function __uncached_access()

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

 



On Sun, Jan 24, 2021 at 03:37:55PM +0800, Yanteng Si wrote:
> MIPS uses this logic because loongson2e override the
> definition of unchached. However, now the logic of
> loongson2e has been removed, so MIPS is no longer needed.
> 
> Signed-off-by: Yanteng Si <siyanteng@xxxxxxxxxxx>
> ---
>  arch/mips/loongson2ef/common/mem.c | 11 -----------

it might help to split this patch into two patches. Put the
loogonson2ef stuff into the first patch with the explaination, that
we no longer need the MESA workaround (which shouldn't be there in
the first place, IMHO)

>  arch/mips/mm/cache.c               |  8 --------
>  drivers/char/mem.c                 |  7 -------

and the rest into a second patch, with a comment that MIPS can now use
the default uncached_access like other archs.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux