kprobes.c (712cba5d87a6c0e980ee5fad45734e189c4d7151) | kprobes.c (61a92f703120daf7ed25e046275aa8a2d3085ad4) |
---|---|
1/* 2 * Kernel Probes (KProbes) 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 435 unchanged lines hidden (view full) --- 444 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) 445 return 1; 446 447 /* 448 * In case the user-specified fault handler returned 449 * zero, try to fix up. 450 */ 451 if ((entry = search_exception_tables(regs->nip)) != NULL) { | 1/* 2 * Kernel Probes (KProbes) 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 435 unchanged lines hidden (view full) --- 444 if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) 445 return 1; 446 447 /* 448 * In case the user-specified fault handler returned 449 * zero, try to fix up. 450 */ 451 if ((entry = search_exception_tables(regs->nip)) != NULL) { |
452 regs->nip = entry->fixup; | 452 regs->nip = extable_fixup(entry); |
453 return 1; 454 } 455 456 /* 457 * fixup_exception() could not handle it, 458 * Let do_page_fault() fix it. 459 */ 460 break; --- 96 unchanged lines hidden --- | 453 return 1; 454 } 455 456 /* 457 * fixup_exception() could not handle it, 458 * Let do_page_fault() fix it. 459 */ 460 break; --- 96 unchanged lines hidden --- |