Skip to contentSkip to conversation

x86: es7000, uv - use __cpuinit for kicking secondary cpus

PATCH In review Cyrill Gorcunov 1 participant 2 messages Apr 19, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: es7000, uv - use __cpuinit for kicking secondary cpus

The caller already has __cpuinit attribute.

[ Impact: cleanup ]

---

I've no ability to test this but it should not bring any problems I believe.

 arch/x86/kernel/apic/es7000_32.c   |    2 +-
 arch/x86/kernel/apic/x2apic_uv_x.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/apic/es7000_32.c +1 -1
Index: linux-2.6.git/arch/x86/kernel/apic/es7000_32.c
=====================================================================
@@ -145,7 +145,7 @@ es7000_rename_gsi(int ioapic, int gsi)
 	return gsi;
 }
 
-static int wakeup_secondary_cpu_via_mip(int cpu, unsigned long eip)
+static int __cpuinit wakeup_secondary_cpu_via_mip(int cpu, unsigned long eip)
 {
 	unsigned long vect = 0, psaival = 0;
 
arch/x86/kernel/apic/x2apic_uv_x.c +1 -1
Index: linux-2.6.git/arch/x86/kernel/apic/x2apic_uv_x.c
=====================================================================
@@ -105,7 +105,7 @@ static void uv_vector_allocation_domain(
 	cpumask_set_cpu(cpu, retmask);
 }
 
-static int uv_wakeup_secondary(int phys_apicid, unsigned long start_rip)
+static int __cpuinit uv_wakeup_secondary(int phys_apicid, unsigned long start_rip)
 {
 #ifdef CONFIG_SMP
 	unsigned long val;
#1 lore raw
Commit-ID:  667c5296cc76fefe0abcb79228952b28d9af45e3
Gitweb:     http://git.kernel.org/tip/667c5296cc76fefe0abcb79228952b28d9af45e3
Author:     Cyrill Gorcunov <[email protected]>
AuthorDate: Sun, 19 Apr 2009 11:43:11 +0400
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sun, 19 Apr 2009 10:28:53 +0200

x86: es7000, uv - use __cpuinit for kicking secondary cpus

The caller already has __cpuinit attribute.

[ Impact: save memory, address section mismatch warning ]

Cc Yinghai Lu <[email protected]>
Cc Pavel Emelyanov <[email protected]>

LKML-Reference: <20090419074311.GA8670@lenovo>

---
 arch/x86/kernel/apic/es7000_32.c   |    2 +-
 arch/x86/kernel/apic/x2apic_uv_x.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/apic/es7000_32.c +1 -1
index 1c11b81..8e07c14 100644
@@ -145,7 +145,7 @@ es7000_rename_gsi(int ioapic, int gsi)
 	return gsi;
 }
 
-static int wakeup_secondary_cpu_via_mip(int cpu, unsigned long eip)
+static int __cpuinit wakeup_secondary_cpu_via_mip(int cpu, unsigned long eip)
 {
 	unsigned long vect = 0, psaival = 0;
 
arch/x86/kernel/apic/x2apic_uv_x.c +1 -1
index de1a50a..873bf71 100644
@@ -91,7 +91,7 @@ static void uv_vector_allocation_domain(int cpu, struct cpumask *retmask)
 	cpumask_set_cpu(cpu, retmask);
 }
 
-static int uv_wakeup_secondary(int phys_apicid, unsigned long start_rip)
+static int __cpuinit uv_wakeup_secondary(int phys_apicid, unsigned long start_rip)
 {
 #ifdef CONFIG_SMP
 	unsigned long val;