]> git.baikalelectronics.ru Git - kernel.git/commit
sh: fix build failure for J2 cpu with SMP disabled
authorRich Felker <dalias@libc.org>
Sat, 5 May 2018 20:40:23 +0000 (16:40 -0400)
committerRich Felker <dalias@libc.org>
Sat, 5 May 2018 20:51:40 +0000 (16:51 -0400)
commitd9cf46fa0de054286f38e365462db6f224ad3047
treebce9d931eadd184d2b1644dc6e69209e5be3c33a
parent8fdf222feba61c86a5a1d628a7df50de1e510fc4
sh: fix build failure for J2 cpu with SMP disabled

The sh asm/smp.h defines a fallback hard_smp_processor_id macro for
the !SMP case, but linux/smp.h never includes asm/smp.h in the !SMP
case.

Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/kernel/cpu/sh2/probe.c