summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-09-28 20:40:52 -0400
committerDavid S. Miller <davem@davemloft.net>2016-09-28 20:40:52 -0400
commit2a0100d7beebd2fb2c436852648f75396253e9f8 (patch)
tree3dc90bf436b4e4c0f2496f5558ce66e2c9509aae /arch/sparc
parentebb99a4c12e4daabe1940ae936e8e7e97ae68c6f (diff)
downloadlinux-2a0100d7beebd2fb2c436852648f75396253e9f8.tar.bz2
sparc64: Fix non-SMP build.
Need to provide a dummy smp_fill_in_cpu_possible_map. Fixes: 9b2f753ec237 ("sparc64: Fix cpu_possible_mask if nr_cpus is set") Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/smp_64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/smp_64.h b/arch/sparc/include/asm/smp_64.h
index 87b05751955a..ce2233f7e662 100644
--- a/arch/sparc/include/asm/smp_64.h
+++ b/arch/sparc/include/asm/smp_64.h
@@ -73,6 +73,7 @@ void __cpu_die(unsigned int cpu);
#define smp_fill_in_sib_core_maps() do { } while (0)
#define smp_fetch_global_regs() do { } while (0)
#define smp_fetch_global_pmu() do { } while (0)
+#define smp_fill_in_cpu_possible_map() do { } while (0)
#endif /* !(CONFIG_SMP) */