ACPI: acpi_pci_link_set() can allocate with either GFP_ATOMIC or GFP_KERNEL
authorJiri Kosina <jikos@jikos.cz>
Thu, 24 Aug 2006 04:36:19 +0000 (00:36 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 14 Oct 2006 05:54:21 +0000 (01:54 -0400)
acpi_pci_link_set() allocates both with interrupts on
and with interrupts off (resume-time), so check interrupts
and decide on GFP_ATOMIC or GFP_KERNEL at run-time.

Signed-off-by: Jiri Kosina <jikos@jikos.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_link.c

Simple merge