diff options
author | Richard A. Holden III <aciddeath@gmail.com> | 2008-11-19 23:05:14 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-20 08:03:04 (GMT) |
commit | 77be80e437fec44f8b7a620314b7d7b605b8d93b (patch) | |
tree | bd0f0a97013440a47d931d02ec47d114355b9eaf /arch/x86/kernel/genx2apic_uv_x.c | |
parent | fbc2a06056c9aa3cb8c44bf1cfeb1d260e229e5c (diff) | |
download | linux-fsl-qoriq-77be80e437fec44f8b7a620314b7d7b605b8d93b.tar.xz |
x86: fix arch/x86/kernel/genx2apic_uv_x.c build warning when !CONFIG_HOTPLUG_CPU
Impact: cleanup, reduce size of the kernel image a bit
Fix:
arch/x86/kernel/genx2apic_uv_x.c:403: warning: 'uv_heartbeat_disable' defined but not used
the function is only used when CONFIG_HOTPLUG_CPU is defined.
Signed-off-by: Richard A. Holden III <aciddeath@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genx2apic_uv_x.c')
-rw-r--r-- | arch/x86/kernel/genx2apic_uv_x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/genx2apic_uv_x.c b/arch/x86/kernel/genx2apic_uv_x.c index f02bbe5..221299f 100644 --- a/arch/x86/kernel/genx2apic_uv_x.c +++ b/arch/x86/kernel/genx2apic_uv_x.c @@ -400,6 +400,7 @@ static void __cpuinit uv_heartbeat_enable(int cpu) uv_heartbeat_enable(0); } +#ifdef CONFIG_HOTPLUG_CPU static void __cpuinit uv_heartbeat_disable(int cpu) { if (uv_cpu_hub_info(cpu)->scir.enabled) { @@ -409,7 +410,6 @@ static void __cpuinit uv_heartbeat_disable(int cpu) uv_set_cpu_scir_bits(cpu, 0xff); } -#ifdef CONFIG_HOTPLUG_CPU /* * cpu hotplug notifier */ |