Skip to content

Commit

Permalink
sparc64: Fix non-SMP build.
Browse files Browse the repository at this point in the history
Need to provide a dummy smp_fill_in_cpu_possible_map.

Fixes: 9b2f753 ("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>
  • Loading branch information
David S. Miller committed Sep 29, 2016
1 parent ebb99a4 commit 2a0100d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sparc/include/asm/smp_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) */

Expand Down

0 comments on commit 2a0100d

Please sign in to comment.