summaryrefslogtreecommitdiff
path: root/fs/jffs2/compr_zlib.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-05-20 23:30:09 +0400
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 15:49:14 +0400
commitc84441c47d21d9291e780cdb5686e927dcd6f227 (patch)
tree6f429781c82b9ba21ce8210313407d0771b1d53b /fs/jffs2/compr_zlib.c
parente2d48b1a98bb5da8d6998ca4db0b20fa46938a11 (diff)
downloadlinux-c84441c47d21d9291e780cdb5686e927dcd6f227.tar.xz
[JFFS2] Fix crosscompile
Include sched.h instead of asm/semaphore.h to make it compile everywhere. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/jffs2/compr_zlib.c')
-rw-r--r--fs/jffs2/compr_zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c
index 078a30e406b5..83f7e0788fd0 100644
--- a/fs/jffs2/compr_zlib.c
+++ b/fs/jffs2/compr_zlib.c
@@ -7,7 +7,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
- * $Id: compr_zlib.c,v 1.29 2004/11/16 20:36:11 dwmw2 Exp $
+ * $Id: compr_zlib.c,v 1.31 2005/05/20 19:30:06 gleixner Exp $
*
*/
@@ -17,10 +17,10 @@
#include <linux/config.h>
#include <linux/kernel.h>
+#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/zlib.h>
#include <linux/zutil.h>
-#include <asm/semaphore.h>
#include "nodelist.h"
#include "compr.h"