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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:02:54 +0000 (04:02 +0900)
commitd40e177f29ab6fd3cc4ddd261d785c3e5b1a2918
tree2a158fa071c37e0664ca048398a04e5790e9c048
parent0742396317a0a0e41ab47e9de10cd6f16317f049
sh: fix build failure for J2 cpu with SMP disabled

[ Upstream commit 6cb465972c4eb6741b3094a58a65e527fc63c100 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sh/kernel/cpu/sh2/probe.c