From: Don Zickus Date: Mon, 13 Dec 2010 15:31:58 +0000 (-0500) Subject: x86, watchdog: Compile fix when CONFIG_LOCAL_APIC not enabled X-Git-Tag: v2.6.38-rc1~490^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f29805a4f4627e766f862ff9f10c14f5f314359;p=pandora-kernel.git x86, watchdog: Compile fix when CONFIG_LOCAL_APIC not enabled When adjusting the code to handle removing the old nmi watchdog, I forgot to consider the compile case when the local apic is not enabled. This change fixes the following build error: arch/x86/kernel/apic/hw_nmi.c:28:6: error: redefinition of ‘touch_nmi_watchdog’ Signed-off-by: Don Zickus Acked-by: Randy Dunlap Cc: Randy Dunlap Cc: Stephen Rothwell Cc: Rakib Mullick LKML-Reference: <20101213153719.GD18577@redhat.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed