aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r--arch/ia64/kernel/acpi.c28
1 files changed, 23 insertions, 5 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index 103dd8edda71..3d45d24a9d61 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -67,6 +67,8 @@ EXPORT_SYMBOL(pm_power_off);
67unsigned int acpi_cpei_override; 67unsigned int acpi_cpei_override;
68unsigned int acpi_cpei_phys_cpuid; 68unsigned int acpi_cpei_phys_cpuid;
69 69
70unsigned long acpi_wakeup_address = 0;
71
70const char __init * 72const char __init *
71acpi_get_sysname(void) 73acpi_get_sysname(void)
72{ 74{
@@ -739,16 +741,15 @@ int __init acpi_boot_init(void)
739 741
740int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) 742int acpi_gsi_to_irq(u32 gsi, unsigned int *irq)
741{ 743{
742 int vector; 744 int tmp;
743 745
744 if (has_8259 && gsi < 16) 746 if (has_8259 && gsi < 16)
745 *irq = isa_irq_to_vector(gsi); 747 *irq = isa_irq_to_vector(gsi);
746 else { 748 else {
747 vector = gsi_to_vector(gsi); 749 tmp = gsi_to_irq(gsi);
748 if (vector == -1) 750 if (tmp == -1)
749 return -1; 751 return -1;
750 752 *irq = tmp;
751 *irq = vector;
752 } 753 }
753 return 0; 754 return 0;
754} 755}
@@ -986,4 +987,21 @@ int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base)
986 987
987EXPORT_SYMBOL(acpi_unregister_ioapic); 988EXPORT_SYMBOL(acpi_unregister_ioapic);
988 989
990/*
991 * acpi_save_state_mem() - save kernel state
992 *
993 * TBD when when IA64 starts to support suspend...
994 */
995int acpi_save_state_mem(void) { return 0; }
996
997/*
998 * acpi_restore_state()
999 */
1000void acpi_restore_state_mem(void) {}
1001
1002/*
1003 * do_suspend_lowlevel()
1004 */
1005void do_suspend_lowlevel(void) {}
1006
989#endif /* CONFIG_ACPI */ 1007#endif /* CONFIG_ACPI */