git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/include/linux/seq_file.h
b/include/linux/seq_file.h
index
850a974
..
b95f6eb
100644
(file)
--- a/
include/linux/seq_file.h
+++ b/
include/linux/seq_file.h
@@
-4,7
+4,7
@@
#include <linux/types.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/string.h>
-#include <
asm/semaphore
.h>
+#include <
linux/mutex
.h>
struct seq_operations;
struct file;
struct seq_operations;
struct file;
@@
-19,7
+19,7
@@
struct seq_file {
size_t count;
loff_t index;
loff_t version;
size_t count;
loff_t index;
loff_t version;
- struct
semaphore sem
;
+ struct
mutex lock
;
struct seq_operations *op;
void *private;
};
struct seq_operations *op;
void *private;
};