---

 25-akpm/drivers/pci/pci.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN drivers/pci/pci.c~pci_set_power_state-might-sleep drivers/pci/pci.c
--- 25/drivers/pci/pci.c~pci_set_power_state-might-sleep	2004-03-31 19:33:12.208228344 -0800
+++ 25-akpm/drivers/pci/pci.c	2004-03-31 19:33:12.212227736 -0800
@@ -247,6 +247,8 @@ pci_set_power_state(struct pci_dev *dev,
 	int pm;
 	u16 pmcsr;
 
+	might_sleep();
+
 	/* bound the state we're entering */
 	if (state > 3) state = 3;
 

_
