[ACPI] PCI interrupt link suspend/resume - revert to 2.6.12 behaviour

This patch disables the PCI Interrupt Link refernece counts,
which should not co-exist with the 2.6.12 irq_router.resume
method or else a double acpi_pci_link_set() could result
on resume.

Signed-off-by: David Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

authored by David Shaohua Li and committed by Len Brown ecc21ebe 3d35600a

+11
+11
drivers/acpi/pci_link.c
··· 692 692 return_VALUE(-1); 693 693 } 694 694 695 + #ifdef FUTURE_USE 696 + /* 697 + * The Link reference count allows us to _DISable an unused link 698 + * and suspend time, and set it again on resume. 699 + * However, 2.6.12 still has irq_router.resume 700 + * which blindly restores the link state. 701 + * So we disable the reference count method 702 + * to prevent duplicate acpi_pci_link_set() 703 + * which would harm some systems 704 + */ 695 705 link->refcnt --; 706 + #endif 696 707 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 697 708 "Link %s is dereferenced\n", acpi_device_bid(link->device))); 698 709