Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / linux / seq_file.h
index 850a974..b95f6eb 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <linux/types.h>
 #include <linux/string.h>
-#include <asm/semaphore.h>
+#include <linux/mutex.h>
 
 struct seq_operations;
 struct file;
@@ -19,7 +19,7 @@ struct seq_file {
        size_t count;
        loff_t index;
        loff_t version;
-       struct semaphore sem;
+       struct mutex lock;
        struct seq_operations *op;
        void *private;
 };