mtd/include/linux/mtd compatmac.h,1.46,1.47

Joakim Tjernlund jocke at infradead.org
Mon Apr 28 12:53:48 EDT 2003


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

Modified Files:
	compatmac.h 
Log Message:
Oops, removed the RED_HAT_LINUX_KERNEL stuff by mistake

Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- compatmac.h	28 Apr 2003 16:44:23 -0000	1.46
+++ compatmac.h	28 Apr 2003 16:53:45 -0000	1.47
@@ -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,5,0)
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) && !defined(RED_HAT_LINUX_KERNEL)
 #define set_user_nice(tsk, n) do { (tsk)->nice = n; } while(0)
 #endif
 




More information about the linux-mtd-cvs mailing list