mtd/include/linux/mtd compatmac.h,1.40,1.41

Joakim Tjernlund jocke at infradead.org
Thu Sep 26 05:58:30 EDT 2002


Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv12071

Modified Files:
	compatmac.h 
Log Message:
set_user_nice() does not exist in 2.4.19 or 2.4.20-prex. 
Adjust to compatmac.h to reflect this. 


Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- compatmac.h	4 Sep 2002 22:14:32 -0000	1.40
+++ compatmac.h	26 Sep 2002 09:58:27 -0000	1.41
@@ -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,18)
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,4,21)
 #define set_user_nice(tsk, n) do { (tsk)->nice = n; } while(0)
 #endif
 





More information about the linux-mtd-cvs mailing list