summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/perf/req-gen/_begin.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/perf/req-gen/_begin.h')
-rw-r--r--kernel/arch/powerpc/perf/req-gen/_begin.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/perf/req-gen/_begin.h b/kernel/arch/powerpc/perf/req-gen/_begin.h
new file mode 100644
index 000000000..acfb17a55
--- /dev/null
+++ b/kernel/arch/powerpc/perf/req-gen/_begin.h
@@ -0,0 +1,13 @@
+/* Include paths to be used in interface defining headers */
+#ifndef POWERPC_PERF_REQ_GEN_H_
+#define POWERPC_PERF_REQ_GEN_H_
+
+#define CAT2_STR_(t, s) __stringify(t/s)
+#define CAT2_STR(t, s) CAT2_STR_(t, s)
+#define I(...) __VA_ARGS__
+
+#endif
+
+#define REQ_GEN_PREFIX req-gen
+#define REQUEST_BEGIN CAT2_STR(REQ_GEN_PREFIX, _request-begin.h)
+#define REQUEST_END CAT2_STR(REQ_GEN_PREFIX, _request-end.h)