Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758281AbWLJLhm (ORCPT ); Sun, 10 Dec 2006 06:37:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757734AbWLJLhm (ORCPT ); Sun, 10 Dec 2006 06:37:42 -0500 Received: from livid.absolutedigital.net ([66.92.46.173]:2614 "EHLO mx2.absolutedigital.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758161AbWLJLhl (ORCPT ); Sun, 10 Dec 2006 06:37:41 -0500 Date: Sun, 10 Dec 2006 06:37:38 -0500 (EST) From: Cal Peake To: Kernel Mailing List cc: Linus Torvalds , Andrew Morton Subject: [PATCH] include/linux/freezer.h needs PF_FREEZE and PF_FROZEN declarations Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1205 Lines: 35 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 + /* * 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/