X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fentry_32.S;h=51e2988c5728d5d57b5b8f0ef035258cc292b2c1;hb=7971e23a66c94f1b9bd2d64a3e86dfbfa8c60121;hp=fd1bc1b15e6d8ebfc0f9e98a025e2ed65601c7fa;hpb=2f466d33f5f60542d3d82c0477de5863b22c94b9;p=cascardo%2Flinux.git diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index fd1bc1b15e6d..51e2988c5728 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S @@ -1244,6 +1244,16 @@ return_to_handler: */ .pushsection .kprobes.text, "ax" +#ifdef CONFIG_TRACING +ENTRY(trace_page_fault) + RING0_EC_FRAME + ASM_CLAC + pushl_cfi $trace_do_page_fault + jmp error_code + CFI_ENDPROC +END(trace_page_fault) +#endif + ENTRY(page_fault) RING0_EC_FRAME ASM_CLAC