git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'topic/soundcore-preclaim' into for-linus
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
apic
/
x2apic_cluster.c
diff --git
a/arch/x86/kernel/apic/x2apic_cluster.c
b/arch/x86/kernel/apic/x2apic_cluster.c
index
8e4cbb2
..
a5371ec
100644
(file)
--- a/
arch/x86/kernel/apic/x2apic_cluster.c
+++ b/
arch/x86/kernel/apic/x2apic_cluster.c
@@
-17,11
+17,13
@@
static int x2apic_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
return x2apic_enabled();
}
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)
{
static const struct cpumask *x2apic_target_cpus(void)
{
- return cpu
mask_of(0)
;
+ return cpu
_online_mask
;
}
/*
}
/*
@@
-170,7
+172,7
@@
static unsigned long set_apic_id(unsigned int id)
static int x2apic_cluster_phys_pkg_id(int initial_apicid, int index_msb)
{
static int x2apic_cluster_phys_pkg_id(int initial_apicid, int index_msb)
{
- return
current_cpu_data.
initial_apicid >> index_msb;
+ return initial_apicid >> index_msb;
}
static void x2apic_send_IPI_self(int vector)
}
static void x2apic_send_IPI_self(int vector)