]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: Suresh Siddha <suresh.b.siddha@intel.com> |
2 | Subject: x64, x2apic/intr-remap: setup init_apic_ldr for UV | |
3 | References: fate #303948 and fate #303984 | |
4 | Patch-Mainline: queued for .28 | |
5 | Commit-ID: 5c520a6724e912a7e6153b7597192edad6752750 | |
6 | ||
7 | Signed-off-by: Thomas Renninger <trenn@suse.de> | |
8 | ||
9 | Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> | |
10 | Signed-off-by: Jack Steiner <steiner@sgi.com> | |
11 | Cc: akpm@linux-foundation.org | |
12 | Cc: arjan@linux.intel.com | |
13 | Cc: andi@firstfloor.org | |
14 | Cc: ebiederm@xmission.com | |
15 | Cc: jbarnes@virtuousgeek.org | |
16 | Cc: steiner@sgi.com | |
17 | Signed-off-by: Ingo Molnar <mingo@elte.hu> | |
18 | ||
19 | --- | |
20 | arch/x86/kernel/genx2apic_uv_x.c | 5 +++++ | |
21 | 1 file changed, 5 insertions(+) | |
22 | ||
23 | Index: linux-2.6.26/arch/x86/kernel/genx2apic_uv_x.c | |
24 | =================================================================== | |
25 | --- linux-2.6.26.orig/arch/x86/kernel/genx2apic_uv_x.c | |
26 | +++ linux-2.6.26/arch/x86/kernel/genx2apic_uv_x.c | |
27 | @@ -124,6 +124,10 @@ static int uv_apic_id_registered(void) | |
28 | return 1; | |
29 | } | |
30 | ||
31 | +static inline void uv_init_apic_ldr(void) | |
32 | +{ | |
33 | +} | |
34 | + | |
35 | static unsigned int uv_cpu_mask_to_apicid(cpumask_t cpumask) | |
36 | { | |
37 | int cpu; | |
38 | @@ -168,6 +172,7 @@ struct genapic apic_x2apic_uv_x = { | |
39 | .target_cpus = uv_target_cpus, | |
40 | .vector_allocation_domain = uv_vector_allocation_domain,/* Fixme ZZZ */ | |
41 | .apic_id_registered = uv_apic_id_registered, | |
42 | + .init_apic_ldr = uv_init_apic_ldr, | |
43 | .send_IPI_all = uv_send_IPI_all, | |
44 | .send_IPI_allbutself = uv_send_IPI_allbutself, | |
45 | .send_IPI_mask = uv_send_IPI_mask, |