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

Bug#886417: linux-source-4.9: Kernel sources do not compile



Hi,

On Fri, Jan 05, 2018 at 09:19:30PM +0100, David Reviejo wrote:
> Hi,
> 
> I have the same error with a very old machine, a Pentium-M one, (and so
> no SMP...) trying to compile the source from 4.9.65-3+deb9u2 with a
> custom config.
> 
> The problem is: the "load_new_mm_cr3" function in arch/x86/mm/tlb.c is
> compiled only when SMP config is defined, but is used in code compiled
> for no SMP machines (line 160); because of this the
> "implicit-function-declaration" error.
> 
> Trying your sugestion, upstream 4.9.75 compile without problems: the
> tlb.c there has no SMP special code (the header says something about:
> "formerly SMP-only"...).

There is indeed
https://git.kernel.org/linus/ce4a4e565f5264909a18c733b864c3f74467f69e
backported as 3e5daacf65173987436bad6ab9039a05f9545cdd in v4.9.74
which AFAICS did remove the surrounding directives.

Regards,
Salvatore


Reply to: