aboutsummaryrefslogtreecommitdiffstats
path: root/kerncompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'kerncompat.h')
-rw-r--r--kerncompat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kerncompat.h b/kerncompat.h
index c7aee68..e6e9987 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -25,6 +25,12 @@
#include <endian.h>
#include <byteswap.h>
+#ifndef READ
+#define READ 0
+#define WRITE 1
+#define READA 2
+#endif
+
#define gfp_t int
#define get_cpu_var(p) (p)
#define __get_cpu_var(p) (p)