mtd/include/linux/mtd compatmac.h,1.69,1.70
gleixner at infradead.org
gleixner at infradead.org
Wed Jan 12 17:34:39 EST 2005
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv14233/include/linux/mtd
Modified Files:
compatmac.h
Log Message:
Lock initializer update
Index: compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- compatmac.h 16 Nov 2004 22:51:38 -0000 1.69
+++ compatmac.h 12 Jan 2005 22:34:36 -0000 1.70
@@ -207,4 +207,11 @@
#endif
+#ifndef DEFINE_SPINLOCK
+#define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
+#endif
+#ifndef DEFINE_RWLOCK
+#define DEFINE_RWLOCK(x) rwlock_t x = RW_LOCK_UNLOCKED
+#endif
+
#endif /* __LINUX_MTD_COMPATMAC_H__ */
More information about the linux-mtd-cvs
mailing list