diff options
author | Len Brown <len.brown@intel.com> | 2006-05-13 01:12:15 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-05-13 01:12:15 -0400 |
commit | 5810452d00ae5fed7f720185d02d79ec9d15b91e (patch) | |
tree | a7921eb6bd46df160712bdd031703c45f4a8155b /arch/ia64/kernel/acpi.c | |
parent | d8c3291c73b958243b33f8509d4507e76dafd055 (diff) |
ACPI: silence ia64 build warning
When building sim_defconfig, which does not define CONFIG_ACPI
arch/ia64/kernel/acpi.c:71: warning: 'acpi_madt_rev' defined but not used
really acpi.c should not be built when CONFIG_ACPI=n...
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 58c93a30348c..f97cc6c7f13a 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -68,8 +68,6 @@ EXPORT_SYMBOL(pm_power_off); | |||
68 | unsigned char acpi_kbd_controller_present = 1; | 68 | unsigned char acpi_kbd_controller_present = 1; |
69 | unsigned char acpi_legacy_devices; | 69 | unsigned char acpi_legacy_devices; |
70 | 70 | ||
71 | static unsigned int __initdata acpi_madt_rev; | ||
72 | |||
73 | unsigned int acpi_cpei_override; | 71 | unsigned int acpi_cpei_override; |
74 | unsigned int acpi_cpei_phys_cpuid; | 72 | unsigned int acpi_cpei_phys_cpuid; |
75 | 73 | ||
@@ -243,6 +241,8 @@ acpi_parse_iosapic(acpi_table_entry_header * header, const unsigned long end) | |||
243 | return iosapic_init(iosapic->address, iosapic->global_irq_base); | 241 | return iosapic_init(iosapic->address, iosapic->global_irq_base); |
244 | } | 242 | } |
245 | 243 | ||
244 | static unsigned int __initdata acpi_madt_rev; | ||
245 | |||
246 | static int __init | 246 | static int __init |
247 | acpi_parse_plat_int_src(acpi_table_entry_header * header, | 247 | acpi_parse_plat_int_src(acpi_table_entry_header * header, |
248 | const unsigned long end) | 248 | const unsigned long end) |