]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
1 | Date: Thu, 19 Mar 2009 09:58:32 -0700 |
2 | From: Greg Kroah-Hartman <gregkh@suse.de> | |
3 | Subject: KABI: fix for struct seq_file change | |
4 | ||
5 | 2.6.27.20 changes the seq_file structure, adding the read_pos field. | |
6 | ||
7 | No modules "should" be creating the seq_file structure, so moving it to | |
8 | the end, and taking it out of the kernel symbol check, should resolve | |
9 | the issue. | |
10 | ||
11 | Hopefully. | |
12 | ||
13 | Crossing my fingers. | |
14 | ||
15 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | |
16 | ||
17 | --- | |
18 | include/linux/seq_file.h | 4 +++- | |
19 | 1 file changed, 3 insertions(+), 1 deletion(-) | |
20 | ||
21 | --- a/include/linux/seq_file.h | |
22 | +++ b/include/linux/seq_file.h | |
23 | @@ -19,11 +19,13 @@ struct seq_file { | |
24 | size_t from; | |
25 | size_t count; | |
26 | loff_t index; | |
27 | - loff_t read_pos; | |
28 | u64 version; | |
29 | struct mutex lock; | |
30 | const struct seq_operations *op; | |
31 | void *private; | |
32 | +#ifndef __GENKSYMS__ | |
33 | + loff_t read_pos; | |
34 | +#endif | |
35 | }; | |
36 | ||
37 | struct seq_operations { |