mtd/drivers/mtd mtdpart.c,1.51,1.52

gleixner at infradead.org gleixner at infradead.org
Wed Jan 12 17:35:07 EST 2005


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv14233/drivers/mtd

Modified Files:
	mtdpart.c 
Log Message:
Lock initializer update

Index: mtdpart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdpart.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- mtdpart.c	16 Nov 2004 18:28:59 -0000	1.51
+++ mtdpart.c	12 Jan 2005 22:34:33 -0000	1.52
@@ -523,7 +523,7 @@
 EXPORT_SYMBOL(add_mtd_partitions);
 EXPORT_SYMBOL(del_mtd_partitions);
 
-static spinlock_t part_parser_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(part_parser_lock);
 static LIST_HEAD(part_parsers);
 
 static struct mtd_part_parser *get_partition_parser(const char *name)





More information about the linux-mtd-cvs mailing list