Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[JFFS2] Fix crosscompile

Include sched.h instead of asm/semaphore.h to make it compile everywhere.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Thomas Gleixner and committed by
Thomas Gleixner
c84441c4 e2d48b1a

+2 -2
+2 -2
fs/jffs2/compr_zlib.c
··· 7 7 * 8 8 * For licensing information, see the file 'LICENCE' in this directory. 9 9 * 10 - * $Id: compr_zlib.c,v 1.29 2004/11/16 20:36:11 dwmw2 Exp $ 10 + * $Id: compr_zlib.c,v 1.31 2005/05/20 19:30:06 gleixner Exp $ 11 11 * 12 12 */ 13 13 ··· 17 17 18 18 #include <linux/config.h> 19 19 #include <linux/kernel.h> 20 + #include <linux/sched.h> 20 21 #include <linux/slab.h> 21 22 #include <linux/zlib.h> 22 23 #include <linux/zutil.h> 23 - #include <asm/semaphore.h> 24 24 #include "nodelist.h" 25 25 #include "compr.h" 26 26