aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2007-05-10 16:20:19 -0400
committerTony Luck <tony.luck@intel.com>2007-05-10 16:20:19 -0400
commit34eac2abcba1c07c47bfff86701a4f80f5553fa6 (patch)
tree2d206cb6426156f5d3ae9177d5cabe66e4d45d3e /arch/ia64
parent9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb (diff)
[IA64] mca.c:121: warning: 'cpe_poll_timer' defined but not used
Only shows up while building sim_defconfig because CONFIG_ACPI=n there, and all of the uses of cpe_poll_timer are inside #ifdef CONFIG_ACPI. Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/mca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c
index f8ae709de0b..26814de6c29 100644
--- a/arch/ia64/kernel/mca.c
+++ b/arch/ia64/kernel/mca.c
@@ -118,7 +118,9 @@ static ia64_mc_info_t ia64_mc_info;
118#define CPE_HISTORY_LENGTH 5 118#define CPE_HISTORY_LENGTH 5
119#define CMC_HISTORY_LENGTH 5 119#define CMC_HISTORY_LENGTH 5
120 120
121#ifdef CONFIG_ACPI
121static struct timer_list cpe_poll_timer; 122static struct timer_list cpe_poll_timer;
123#endif
122static struct timer_list cmc_poll_timer; 124static struct timer_list cmc_poll_timer;
123/* 125/*
124 * This variable tells whether we are currently in polling mode. 126 * This variable tells whether we are currently in polling mode.