]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.kabi/abi-fix-for-struct-seq_file-change.patch
Revert "Move xen patchset to new version's subdir."
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.kabi / abi-fix-for-struct-seq_file-change.patch
CommitLineData
00e5a55c
BS
1Date: Thu, 19 Mar 2009 09:58:32 -0700
2From: Greg Kroah-Hartman <gregkh@suse.de>
3Subject: KABI: fix for struct seq_file change
4
52.6.27.20 changes the seq_file structure, adding the read_pos field.
6
7No modules "should" be creating the seq_file structure, so moving it to
8the end, and taking it out of the kernel symbol check, should resolve
9the issue.
10
11Hopefully.
12
13Crossing my fingers.
14
15Signed-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 {