X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fpowerpc%2Fmm%2Ffault.c;fp=arch%2Fpowerpc%2Fmm%2Ffault.c;h=d0b137d96df19e0e6f1b1258555f9ff359cd3fbd;hb=03465f899bdac70d34f6ca447a74d8ae9e284ce5;hp=bb1ffc559f38b799b5f93b9aec9a931d0088143f;hpb=e1c0d66fcb179a1737b3d5cc11c6e37bcabbd861;p=cascardo%2Flinux.git diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c index bb1ffc559f38..d0b137d96df1 100644 --- a/arch/powerpc/mm/fault.c +++ b/arch/powerpc/mm/fault.c @@ -205,7 +205,7 @@ static int mm_fault_error(struct pt_regs *regs, unsigned long addr, int fault) * The return value is 0 if the fault was handled, or the signal * number if this is a kernel fault that can't be handled here. */ -int __kprobes do_page_fault(struct pt_regs *regs, unsigned long address, +int do_page_fault(struct pt_regs *regs, unsigned long address, unsigned long error_code) { enum ctx_state prev_state = exception_enter(); @@ -498,8 +498,8 @@ bad_area_nosemaphore: bail: exception_exit(prev_state); return rc; - } +NOKPROBE_SYMBOL(do_page_fault); /* * bad_page_fault is called when we have a bad access from the kernel.