make oldconfig will rebuild these...
[linux-2.4.21-pre4.git] / include / asm-ia64 / machvec_init.h
1 #define __MACHVEC_HDR(n)                <asm/machvec_##n##.h>
2 #define __MACHVEC_EXPAND(n)             __MACHVEC_HDR(n)
3 #define MACHVEC_PLATFORM_HEADER         __MACHVEC_EXPAND(MACHVEC_PLATFORM_NAME)
4
5 #include <asm/machvec.h>
6
7 extern ia64_mv_send_ipi_t ia64_send_ipi;
8 extern ia64_mv_global_tlb_purge_t ia64_global_tlb_purge;
9 extern ia64_mv_irq_desc __ia64_irq_desc;
10 extern ia64_mv_irq_to_vector __ia64_irq_to_vector;
11 extern ia64_mv_local_vector_to_irq __ia64_local_vector_to_irq;
12
13 extern ia64_mv_inb_t __ia64_inb;
14 extern ia64_mv_inw_t __ia64_inw;
15 extern ia64_mv_inl_t __ia64_inl;
16 extern ia64_mv_outb_t __ia64_outb;
17 extern ia64_mv_outw_t __ia64_outw;
18 extern ia64_mv_outl_t __ia64_outl;
19
20 #define MACHVEC_HELPER(name)                                                                    \
21  struct ia64_machine_vector machvec_##name __attribute__ ((unused, __section__ (".machvec")))   \
22         = MACHVEC_INIT(name);
23
24 #define MACHVEC_DEFINE(name)    MACHVEC_HELPER(name)
25
26 MACHVEC_DEFINE(MACHVEC_PLATFORM_NAME)