]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Oct 2018 12:56:27 +0000 (14:56 +0200)
commit35373d0ea2ed1c088a6879111239efed29423877
tree57c30cb6d8ded02618d44fa282692587f438a6d3
parentea19cfd1b33c5e23faad956581058c05a1e85b41
sh: fix build failure for J2 cpu with SMP disabled

BugLink: http://bugs.launchpad.net/bugs/1794889
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/sh/kernel/cpu/sh2/probe.c