blob: 185191f4d822fd8a49ba96f1d0e99a8b50bb2c88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- ./services4/srvkm/env/linux/proc.c.orig 2009-10-09 13:46:40.000000000 -0500
+++ ./services4/srvkm/env/linux/proc.c 2009-10-09 13:48:36.000000000 -0500
@@ -134,7 +134,9 @@
if (file)
{
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
file->owner = THIS_MODULE;
+#endif
file->read_proc = rhandler;
file->write_proc = whandler;
file->data = data;
@@ -165,7 +167,9 @@
if (file)
{
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
file->owner = THIS_MODULE;
+#endif
return 0;
}
|