projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a86bbb
)
[IA64] mca.c:121: warning: 'cpe_poll_timer' defined but not used
author
Tony Luck
<tony.luck@intel.com>
Thu, 10 May 2007 20:20:19 +0000
(13:20 -0700)
committer
Tony Luck
<tony.luck@intel.com>
Thu, 10 May 2007 20:20:19 +0000
(13:20 -0700)
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>
arch/ia64/kernel/mca.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/kernel/mca.c
b/arch/ia64/kernel/mca.c
index f8ae709de0b5341e48abaaf13ac1bd011dd98ee0..26814de6c29ace5955dc65b3b0eac36b97f36e69 100644
(file)
--- 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.