]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
numa, cpumask: move numa_node_id default implementation to topology.h, fix
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 19 Mar 2009 11:03:22 +0000 (22:03 +1100)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Mar 2009 11:51:25 +0000 (12:51 +0100)
commit17ad6ea621b1c7952ebd7330ce65de26b6ee9cca
tree92c76de4e8af7d7db566d872af927ac0f6bf10f4
parentdf7c8e845e8e2030e8ae947e0ace56d184d0e9a0
numa, cpumask: move numa_node_id default implementation to topology.h, fix

Impact: build fix for powerpc and sparc

Today's linux-next build (powerpc allyesconfig) failed like this:

> In file included from include/linux/mmzone.h:776,
>                  from include/linux/gfp.h:5,
>                  from include/linux/kmod.h:23,
>                  from include/linux/module.h:14,
>                  from init/version.c:11:
> arch/powerpc/include/asm/mmzone.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'numa_cpumask_lookup_table'

Caused by commit 082edb7bf443eb8eda15b482d16ad9dd8137ad24 ("numa,
cpumask: move numa_node_id default implementation to topology.h") from
the cpus4096 tree which removed the include of linux/topology.h from
linux/mmzone.h.

Same for sparc64 defconfig.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-b: Rusty Russell <rusty@rustcorp.com.au>
Cc: ppc-dev <linuxppc-dev@ozlabs.org>
LKML-Reference: <20090319220322.3baa4613.sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/include/asm/mmzone.h
arch/sparc/include/asm/mmzone.h