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)
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>

No differences found