Re: linux-next: build warning after merge of the tip tree

From: Thomas Gleixner
Date: Wed Sep 12 2018 - 15:35:43 EST


On Tue, 11 Sep 2018, Stephen Rothwell wrote:
> After merging the tip tree, today's linux-next build (x86_64 allnoconfig)
> produced this warning:
>
> arch/x86/kernel/cpu/common.c: In function 'syscall_init':
> arch/x86/kernel/cpu/common.c:1534:6: warning: unused variable 'cpu' [-Wunused-variable]
> int cpu = smp_processor_id();
> ^~~
>
> Introduced by commit
>
> 86635715ee42 ("x86/pti/64: Remove the SYSCALL64 entry trampoline")

Hrmpf. My randconfigs seem not to be random enough. Fixed.

Thanks,

tglx