Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=34eac2abcba1c07c47bfff86701a4f80f5553fa6 Commit: 34eac2abcba1c07c47bfff86701a4f80f5553fa6 Parent: 9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb Author: Tony Luck <[EMAIL PROTECTED]> AuthorDate: Thu May 10 13:20:19 2007 -0700 Committer: Tony Luck <[EMAIL PROTECTED]> CommitDate: Thu May 10 13:20:19 2007 -0700
[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 <[EMAIL PROTECTED]> --- arch/ia64/kernel/mca.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index f8ae709..26814de 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; #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 git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html