Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156559
b: refs/heads/master
c: 087d7e5
h: refs/heads/master
i:
  156557: 71e3de3
  156555: 2ce1937
  156551: 4d64a9f
  156543: d6d4f46
v: v3
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Aug 8, 2009
1 parent 680e106 commit 10caf61
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7d5b005652bc5ae3e1e0efc53fd0e25a643ec506
refs/heads/master: 087d7e56deffb611a098e7e257388a41edbeef1f
8 changes: 5 additions & 3 deletions trunk/arch/x86/kernel/apic/x2apic_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ static int x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
return x2apic_enabled();
}

/* Start with all IRQs pointing to boot CPU. IRQ balancing will shift them. */

/*
* need to use more than cpu 0, because we need more vectors when
* MSI-X are used.
*/
static const struct cpumask *x2apic_target_cpus(void)
{
return cpumask_of(0);
return cpu_online_mask;
}

/*
Expand Down
8 changes: 5 additions & 3 deletions trunk/arch/x86/kernel/apic/x2apic_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ static int x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
return 0;
}

/* Start with all IRQs pointing to boot CPU. IRQ balancing will shift them. */

/*
* need to use more than cpu 0, because we need more vectors when
* MSI-X are used.
*/
static const struct cpumask *x2apic_target_cpus(void)
{
return cpumask_of(0);
return cpu_online_mask;
}

static void x2apic_vector_allocation_domain(int cpu, struct cpumask *retmask)
Expand Down

0 comments on commit 10caf61

Please sign in to comment.