]> git.baikalelectronics.ru Git - kernel.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)
commit910bc521786f056e9fd7fa83832991fbf7587e70
treeed57eeeb486466697c3d97feaf34396dd2a2b992
parent17d262ba13db749c6544c56d5e336242ed4e8a8a
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