OSDN Git Service

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)
commit6cb465972c4eb6741b3094a58a65e527fc63c100
treebce9d931eadd184d2b1644dc6e69209e5be3c33a
parent6da6c0db5316275015e8cc2959f12a17584aeb64
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