From: Dave A. <ai...@us...> - 2003-06-10 02:01:55
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/s390/math-emu In directory sc8-pr-cvs1:/tmp/cvs-serv23180/arch/s390/math-emu Modified Files: math.c Log Message: DA: sync to Marcelo 2.4.18 + remove init_mmap (no longer needed) Index: math.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/s390/math-emu/math.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- math.c 10 Apr 2002 15:06:38 -0000 1.1 +++ math.c 10 Jun 2003 01:46:10 -0000 1.2 @@ -96,7 +96,7 @@ return SIGSEGV; \ } while (0) -static void display_emulation_not_implemented(char *instr) +static void display_emulation_not_implemented(struct pt_regs *regs, char *instr) { struct pt_regs *regs; __u16 *location; @@ -105,7 +105,6 @@ if(sysctl_ieee_emulation_warnings) #endif [...1413 lines suppressed...] - _fex = ((int (*)(int, long)) jump_table[opcode[5]]) - (opcode[1] >> 4, dxb); + _fex = ((int (*)(struct pt_regs *, int, long)) + jump_table[opcode[5]]) + (regs, opcode[1] >> 4, dxb); break; } case 10: /* RXE format, RX address used as int value */ { @@ -2039,8 +2065,9 @@ opc = *((__u32 *) opcode); dxb = (__u64) calc_addr(regs, opc >> 16, opc >> 12, opc); /* call the emulation function */ - _fex = ((int (*)(int, long)) jump_table[opcode[5]]) - (opcode[1] >> 4, dxb); + _fex = ((int (*)(struct pt_regs *, int, long)) + jump_table[opcode[5]]) + (regs, opcode[1] >> 4, dxb); break; } default: /* invalid operation */ |