x86: fix arch/x86/kernel/genx2apic_uv_x.c build warning when !CONFIG_HOTPLUG_CPU
authorRichard A. Holden III <aciddeath@gmail.com>
Wed, 19 Nov 2008 23:05:14 +0000 (16:05 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 20 Nov 2008 08:03:04 +0000 (09:03 +0100)
commit77be80e437fec44f8b7a620314b7d7b605b8d93b
treebd0f0a97013440a47d931d02ec47d114355b9eaf
parentfbc2a06056c9aa3cb8c44bf1cfeb1d260e229e5c
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>
arch/x86/kernel/genx2apic_uv_x.c