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

John Paul Adrian Glaubitz
2020-07-16T11:03:43Z

Hi Peter!

On 7/16/20 1:01 PM, peterz@infradead.org 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@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913