xen/mmu: Fix for linker errors when CONFIG_SMP is not defined.
Simple enough - we use an extern defined symbol which is not defined when CONFIG_SMP is not defined. This fixes the linker dying. CC: stable@kernel.org Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
parent
acd049c6e9
commit
32dd11942a
1 changed files with 4 additions and 0 deletions
|
@ -1232,7 +1232,11 @@ static void xen_flush_tlb_others(const struct cpumask *cpus,
|
||||||
{
|
{
|
||||||
struct {
|
struct {
|
||||||
struct mmuext_op op;
|
struct mmuext_op op;
|
||||||
|
#ifdef CONFIG_SMP
|
||||||
DECLARE_BITMAP(mask, num_processors);
|
DECLARE_BITMAP(mask, num_processors);
|
||||||
|
#else
|
||||||
|
DECLARE_BITMAP(mask, NR_CPUS);
|
||||||
|
#endif
|
||||||
} *args;
|
} *args;
|
||||||
struct multicall_space mcs;
|
struct multicall_space mcs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue