[lkml]   [2006]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] include/linux/freezer.h needs PF_FREEZE and PF_FROZEN declarations
JFS (modular, if it matters) fails to build with this error:

In file included from fs/jfs/jfs_txnmgr.c:49:
include/linux/freezer.h: In function `frozen':
include/linux/freezer.h:9: error: dereferencing pointer to incomplete type
include/linux/freezer.h:9: error: `PF_FROZEN' undeclared (first use in this function)
include/linux/freezer.h:9: error: (Each undeclared identifier is reported only once
include/linux/freezer.h:9: error: for each function it appears in.)

From: Cal Peake <>

Include include/linux/sched.h in include/linux/freezer.h for PF_FREEZE and
PF_FROZEN declarations.

Signed-off-by: Cal Peake <>

--- ./include/linux/freezer.h~orig 2006-12-07 22:33:46.000000000 -0500
+++ ./include/linux/freezer.h 2006-12-10 06:15:11.000000000 -0500
@@ -1,6 +1,9 @@
/* Freezer declarations */

#ifdef CONFIG_PM
+#include <linux/sched.h>
* Check if a process has been frozen
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2006-12-10 12:41    [W:0.021 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site