projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea611ef
)
added compatibility for kill_fasync()
author
David Schleef
<ds@schleef.org>
Thu, 1 Mar 2001 05:02:57 +0000
(
05:02
+0000)
committer
David Schleef
<ds@schleef.org>
Thu, 1 Mar 2001 05:02:57 +0000
(
05:02
+0000)
include/linux/fs.h
[new file with mode: 0644]
patch
|
blob
diff --git a/include/linux/fs.h
b/include/linux/fs.h
new file mode 100644
(file)
index 0000000..
736b592
--- /dev/null
+++ b/
include/linux/fs.h
@@ -0,0
+1,19
@@
+/*
+ * linux/fs.h compatibility header
+ */
+
+#ifndef __COMPAT_LINUX_FS_H_
+#define __COMPAT_LINUX_FS_H_
+
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < 0x020400
+#define KILL_FASYNC(a,b,c) kill_fasync((a),(c))
+#else
+#define KILL_FASYNC(a,b,c) kill_fasync(&(a),(b),(c))
+#endif
+
+#include_next <linux/fs.h>
+
+#endif
+