diff options
author | David S. Miller <davem@davemloft.net> | 2016-09-29 02:40:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-29 02:40:52 +0200 |
commit | 2a0100d7beebd2fb2c436852648f75396253e9f8 (patch) | |
tree | 3dc90bf436b4e4c0f2496f5558ce66e2c9509aae /arch | |
parent | sparc64: Fix irq stack bootmem allocation. (diff) | |
download | linux-2a0100d7beebd2fb2c436852648f75396253e9f8.tar.xz linux-2a0100d7beebd2fb2c436852648f75396253e9f8.zip |
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')
-rw-r--r-- | arch/sparc/include/asm/smp_64.h | 1 |
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) */ |