patch-2.3.43 linux/include/asm-ia64/machvec_init.h

Next file: linux/include/asm-ia64/machvec_sn1.h
Previous file: linux/include/asm-ia64/machvec_hpsim.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/asm-ia64/machvec_init.h linux/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)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)