[PATCH] Fix unused variable cpe_poll_timer

From: Ian Wienand <ianw_at_gelato.unsw.edu.au>
Date: 2005-07-19 11:35:58
Fix

arch/ia64/kernel/mca.c:109: warning: 'cpe_poll_timer' defined but not used

when building for the simulator, which has no ACPI

--

Signed-Off-By: Ian Wienand <ianw@gelato.unsw.edu.au>

diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c
--- a/arch/ia64/kernel/mca.c
+++ b/arch/ia64/kernel/mca.c
@@ -106,7 +106,9 @@ static ia64_mc_info_t		ia64_mc_info;
 #define CPE_HISTORY_LENGTH    5
 #define CMC_HISTORY_LENGTH    5
 
+#ifdef CONFIG_ACPI
 static struct timer_list cpe_poll_timer;
+#endif
 static struct timer_list cmc_poll_timer;
 /*
  * This variable tells whether we are currently in polling mode.
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jul 18 21:37:23 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:40 EST