]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/sparc/include/asm/topology_64.h
sparc: topology_64.h: Fix condition for including cpudata.h
authorBen Hutchings <ben@decadent.org.uk>
Sat, 4 Feb 2017 16:32:22 +0000 (16:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2017 16:21:45 +0000 (08:21 -0800)
commitfc5e8c283999168942baa5ef7f3805444f80be2b
treecb72b229751f6c9420bd6bf9a315500a1a9dbd37
parentcbc41b43e7c2ba6503b6b96dfe38e6b1316f46cf
sparc: topology_64.h: Fix condition for including cpudata.h

We currently define macros referring to cpu_data if CONFIG_SMP is
defined, but only include the declaration if CONFIG_NUMA is defined.

Fixes: 541cc39433a8 ("sparc: fix a building error reported by kbuild")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/topology_64.h