sparc64: Fix non-SMP build.
authorDavid S. Miller <davem@davemloft.net>
Thu, 29 Sep 2016 00:40:52 +0000 (20:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Sep 2016 00:40:52 +0000 (20:40 -0400)
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>
arch/sparc/include/asm/smp_64.h

index 87b0575..ce2233f 100644 (file)
@@ -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) */