diff options
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 28 |
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); | |||
67 | unsigned int acpi_cpei_override; | 67 | unsigned int acpi_cpei_override; |
68 | unsigned int acpi_cpei_phys_cpuid; | 68 | unsigned int acpi_cpei_phys_cpuid; |
69 | 69 | ||
70 | unsigned long acpi_wakeup_address = 0; | ||
71 | |||
70 | const char __init * | 72 | const char __init * |
71 | acpi_get_sysname(void) | 73 | acpi_get_sysname(void) |
72 | { | 74 | { |
@@ -739,16 +741,15 @@ int __init acpi_boot_init(void) | |||
739 | 741 | ||
740 | int acpi_gsi_to_irq(u32 gsi, unsigned int *irq) | 742 | int 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 | ||
987 | EXPORT_SYMBOL(acpi_unregister_ioapic); | 988 | EXPORT_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 | */ | ||
995 | int acpi_save_state_mem(void) { return 0; } | ||
996 | |||
997 | /* | ||
998 | * acpi_restore_state() | ||
999 | */ | ||
1000 | void acpi_restore_state_mem(void) {} | ||
1001 | |||
1002 | /* | ||
1003 | * do_suspend_lowlevel() | ||
1004 | */ | ||
1005 | void do_suspend_lowlevel(void) {} | ||
1006 | |||
989 | #endif /* CONFIG_ACPI */ | 1007 | #endif /* CONFIG_ACPI */ |