summaryrefslogtreecommitdiff
path: root/kerncompat.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-03 16:35:48 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-04-03 16:35:48 -0400
commita6de0bd778475504f42a142c83b8077993cbddfe (patch)
tree372c0634becbcd2c233e08d355e130c60de9cc58 /kerncompat.h
parent6a87b4c00a08e377ee6265dee6c2548d2d0f67b0 (diff)
Add mirroring support across multiple drives
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 c7aee684..e6e9987b 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)