X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Fmca.h;fp=include%2Fasm-ia64%2Fmca.h;h=c7d9c9ed38baa518392cf9adcded3b90a299551e;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=ee97f7c2d462e350b7554454861ef35bd9d73e93;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/asm-ia64/mca.h b/include/asm-ia64/mca.h index ee97f7c2d..c7d9c9ed3 100644 --- a/include/asm-ia64/mca.h +++ b/include/asm-ia64/mca.h @@ -69,16 +69,14 @@ typedef struct ia64_mc_info_s { */ struct ia64_sal_os_state { - - /* SAL to OS */ + /* SAL to OS, must be at offset 0 */ u64 os_gp; /* GP of the os registered with the SAL, physical */ u64 pal_proc; /* PAL_PROC entry point, physical */ u64 sal_proc; /* SAL_PROC entry point, physical */ u64 rv_rc; /* MCA - Rendezvous state, INIT - reason code */ u64 proc_state_param; /* from R18 */ u64 monarch; /* 1 for a monarch event, 0 for a slave */ - - /* common */ + /* common, must follow SAL to OS */ u64 sal_ra; /* Return address in SAL, physical */ u64 sal_gp; /* GP of the SAL - physical */ pal_min_state_area_t *pal_min_state; /* from R17. physical in asm, virtual in C */ @@ -100,8 +98,7 @@ struct ia64_sal_os_state { u64 iipa; u64 iim; u64 iha; - - /* OS to SAL */ + /* OS to SAL, must follow common */ u64 os_status; /* OS status to SAL, enum below */ u64 context; /* 0 if return to same context 1 if return to new context */ @@ -134,8 +131,6 @@ struct ia64_mca_cpu { /* Array of physical addresses of each CPU's MCA area. */ extern unsigned long __per_cpu_mca[NR_CPUS]; -extern int cpe_vector; -extern int ia64_cpe_irq; extern void ia64_mca_init(void); extern void ia64_mca_cpu_init(void *); extern void ia64_os_mca_dispatch(void); @@ -151,11 +146,6 @@ extern int ia64_reg_MCA_extension(int (*fn)(void *, struct ia64_sal_os_state *) extern void ia64_unreg_MCA_extension(void); extern u64 ia64_get_rnat(u64 *); -struct ia64_mca_notify_die { - struct ia64_sal_os_state *sos; - int *monarch_cpu; -}; - #else /* __ASSEMBLY__ */ #define IA64_MCA_CORRECTED 0x0 /* Error has been corrected by OS_MCA */