|
@@ -239,7 +239,7 @@ __do_page_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr,
|
|
|
return fault;
|
|
return fault;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-static int
|
|
|
|
|
|
|
+static int __kprobes
|
|
|
do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
|
|
do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
|
|
|
{
|
|
{
|
|
|
struct task_struct *tsk;
|
|
struct task_struct *tsk;
|
|
@@ -338,7 +338,7 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
|
|
|
* interrupt or a critical region, and should only copy the information
|
|
* interrupt or a critical region, and should only copy the information
|
|
|
* from the master page table, nothing more.
|
|
* from the master page table, nothing more.
|
|
|
*/
|
|
*/
|
|
|
-static int
|
|
|
|
|
|
|
+static int __kprobes
|
|
|
do_translation_fault(unsigned long addr, unsigned int fsr,
|
|
do_translation_fault(unsigned long addr, unsigned int fsr,
|
|
|
struct pt_regs *regs)
|
|
struct pt_regs *regs)
|
|
|
{
|
|
{
|