]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit168a328f30e9d1a8bc6ff55c0501e0bdc08bee60
tree16c6e686a55596bdf3110366f6a408407b682710
parent786f18c666d7202a86a8aa42a98783b115fe8739
ACPI: acpi_pci_link_set() can allocate with either GFP_ATOMIC or GFP_KERNEL

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