mtd/include/linux/mtd compatmac.h,1.41,1.42
David Woodhouse
dwmw2 at infradead.org
Fri Nov 15 08:15:53 EST 2002
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv2833
Modified Files:
compatmac.h
Log Message:
Fix Red Hat kernel module build again
Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- compatmac.h 26 Sep 2002 09:58:27 -0000 1.41
+++ compatmac.h 15 Nov 2002 13:15:50 -0000 1.42
@@ -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)
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,4,21) && !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