patch-1.3.32 linux/arch/alpha/kernel/apecs.c
Next file: linux/arch/alpha/kernel/bios32.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Fri Oct 6 11:31:11 1995
- Orig file:
v1.3.31/linux/arch/alpha/kernel/apecs.c
- Orig date:
Sun Sep 3 12:26:48 1995
diff -u --recursive --new-file v1.3.31/linux/arch/alpha/kernel/apecs.c linux/arch/alpha/kernel/apecs.c
@@ -424,18 +424,17 @@
void apecs_machine_check(unsigned long vector, unsigned long la_ptr,
struct pt_regs * regs)
{
- struct el_common_logout_header *mchk_header;
+ struct el_common *mchk_header;
struct el_apecs_sysdata_mcheck *mchk_sysdata;
- mchk_header = (struct el_common_logout_header *)la_ptr;
+ mchk_header = (struct el_common *)la_ptr;
mchk_sysdata =
- (struct el_apecs_sysdata_mcheck *)(la_ptr + mchk_header->elfl_sysoffset);
+ (struct el_apecs_sysdata_mcheck *)(la_ptr + mchk_header->sys_offset);
DBG(("apecs_machine_check: vector=0x%lx la_ptr=0x%lx\n", vector, la_ptr));
DBG((" pc=0x%lx size=0x%x procoffset=0x%x sysoffset 0x%x\n",
- regs->pc, mchk_header->elfl_size, mchk_header->elfl_procoffset,
- mchk_header->elfl_sysoffset));
+ regs->pc, mchk_header->size, mchk_header->proc_offset, mchk_header->sys_offset));
DBG(("apecs_machine_check: expected %d DCSR 0x%lx PEAR 0x%lx\n",
apecs_mcheck_expected, mchk_sysdata->epic_dcsr, mchk_sysdata->epic_pear));
#ifdef DEBUG
@@ -443,7 +442,7 @@
int i;
ptr = (unsigned long *)la_ptr;
- for (i = 0; i < mchk_header->elfl_size / sizeof(long); i += 2) {
+ for (i = 0; i < mchk_header->size / sizeof(long); i += 2) {
printk(" +%x %lx %lx\n", i*sizeof(long), ptr[i], ptr[i+1]);
}
#endif /* DEBUG */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this