summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/machvec_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/machvec_init.h')
-rw-r--r--include/asm-ia64/machvec_init.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-ia64/machvec_init.h b/include/asm-ia64/machvec_init.h
new file mode 100644
index 000000000..60859418a
--- /dev/null
+++ b/include/asm-ia64/machvec_init.h
@@ -0,0 +1,9 @@
+#define MACHVEC_INHIBIT_RENAMING
+
+#include <asm/machvec.h>
+
+#define MACHVEC_HELPER(name) \
+ struct ia64_machine_vector machvec_##name __attribute__ ((unused, __section__ (".machvec"))) \
+ = MACHVEC_INIT(name);
+
+#define MACHVEC_DEFINE(name) MACHVEC_HELPER(name)