Skip to contentSkip to conversation

linux-next: suspend tree build failure

PATCH In review Stephen Rothwell 3 participants 3 messages Oct 8, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi Rafael,

Today's linux-next build (powerpc allyesconfig) failed like this:

kernel/power/process.c: In function 'try_to_freeze_tasks':
kernel/power/process.c:72: error: implicit declaration of function 'msleep'

Caused by commit a48145a7cbf3b0555ba3ad61aaf2c38719bab95d ("PM / freezer:
Don't get over-anxious while waiting") which I have reverted for today.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#1 lore raw

PATCH 1/1 PM / freezer: add missing include

Fix compile failure caused by a48145a7cbf3b0555ba3ad61aaf2c38719bab95d forgetting to include delay.h.

---
 kernel/power/process.c |    1 +
 1 file changed, 1 insertion(+)
kernel/power/process.c +1 -0
index 66161f0..5ade1bd 100644
@@ -14,6 +14,7 @@
 #include <linux/module.h>
 #include <linux/syscalls.h>
 #include <linux/freezer.h>
+#include <linux/delay.h>
 
 /* 
  * Timeout for stopping processes
#2 lore raw

Re: [PATCH suspend-2.6#linux-next] PM / freezer: add missing include

Quoted 5 lines · Tejun Heo

Fix compile failure caused by a48145a7cbf3b0555ba3ad61aaf2c38719bab95d forgetting to include delay.h.

I folded it into the original patch and pushed the updated tree.

Thanks,
Rafael

Quoted 18 lines
---
 kernel/power/process.c |    1 +
 1 file changed, 1 insertion(+)
kernel/power/process.c +1 -0
index 66161f0..5ade1bd 100644
@@ -14,6 +14,7 @@
 #include <linux/module.h>
 #include <linux/syscalls.h>
 #include <linux/freezer.h>
+#include <linux/delay.h>
 
 /* 
  * Timeout for stopping processes