]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: handle PCI state saving with interrupts disabled
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 7 Dec 2008 21:02:58 +0000 (22:02 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:40 +0000 (11:12 -0800)
commit63f4898ace2788a89ed685672aab092e1c3e50e6
treeed57eeeb486466697c3d97feaf34396dd2a2b992
parent894886e5d3de0bde2eded8a39bf7e76023fbd791
PCI: handle PCI state saving with interrupts disabled

Since interrupts will soon be disabled at PCI resume time, we need to
pre-allocate memory to save/restore PCI config space (or use GFP_ATOMIC,
but this is safer).

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/probe.c