mtd/include/linux/mtd compatmac.h,1.45,1.46
Joakim Tjernlund
jocke at infradead.org
Mon Apr 28 12:44:26 EDT 2003
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv2812
Modified Files:
compatmac.h
Log Message:
set_user_nice() is not in 2.4.21 either.
Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- compatmac.h 24 Jan 2003 15:50:57 -0000 1.45
+++ compatmac.h 28 Apr 2003 16:44:23 -0000 1.46
@@ -519,7 +519,7 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
/* Is this right? */
#define set_user_nice(tsk, n) do { (tsk)->priority = 20-(n); } while(0)
-#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,4,21) && !defined(RED_HAT_LINUX_KERNEL)
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
#define set_user_nice(tsk, n) do { (tsk)->nice = n; } while(0)
#endif
More information about the linux-mtd-cvs
mailing list