datapath: Add compatibility code for sparse annotations.
[sliver-openvswitch.git] / datapath / linux-2.6 / compat-2.6 / include / linux / compiler.h
diff --git a/datapath/linux-2.6/compat-2.6/include/linux/compiler.h b/datapath/linux-2.6/compat-2.6/include/linux/compiler.h
new file mode 100644 (file)
index 0000000..dbe3ca7
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef __LINUX_COMPILER_WRAPPER_H
+#define __LINUX_COMPILER_WRAPPER_H 1
+
+#include_next <linux/compiler.h>
+
+#ifndef __percpu
+#define __percpu
+#endif
+
+#ifndef __rcu
+#define __rcu
+#endif
+
+#endif