Re: ioremap and dma cleanups and fixes for superh (2nd resend)

From: John Paul Adrian Glaubitz
Date: Thu Jul 16 2020 - 07:03:43 EST


Hi Peter!

On 7/16/20 1:01 PM, peterz@xxxxxxxxxxxxx wrote:
>> The build fails with:
>>
>> CC mm/mmu_gather.o
>> mm/mmu_gather.c: In function âtlb_table_invalidateâ:
>> mm/mmu_gather.c:180:6: error: implicit declaration of function âtlb_needs_table_invalidateâ; did you mean âtlb_table_invalidateâ? [-Werror=implicit-function-declaration]
>> 180 | if (tlb_needs_table_invalidate()) {
>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> | tlb_table_invalidate
>> cc1: some warnings being treated as errors
>> make[1]: *** [scripts/Makefile.build:281: mm/mmu_gather.o] Error 1
>> make: *** [Makefile:1756: mm] Error 2
>
> *sigh*, thanks, I'll go dig out the local cross compiler set then.

FWIW, I recommend keeping a Debian box at hand where installing the cross-compiler
is a matter of running "apt install gcc-sh4-linux-gnu" ;-).

Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@xxxxxxxxxx
`. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913