|
@@ -809,6 +809,10 @@ END(interrupt)
|
|
call \func
|
|
call \func
|
|
.endm
|
|
.endm
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * Interrupt entry/exit should be protected against kprobes
|
|
|
|
+ */
|
|
|
|
+ .pushsection .kprobes.text, "ax"
|
|
/*
|
|
/*
|
|
* The interrupt stubs push (~vector+0x80) onto the stack and
|
|
* The interrupt stubs push (~vector+0x80) onto the stack and
|
|
* then jump to common_interrupt.
|
|
* then jump to common_interrupt.
|
|
@@ -947,6 +951,10 @@ ENTRY(retint_kernel)
|
|
|
|
|
|
CFI_ENDPROC
|
|
CFI_ENDPROC
|
|
END(common_interrupt)
|
|
END(common_interrupt)
|
|
|
|
+/*
|
|
|
|
+ * End of kprobes section
|
|
|
|
+ */
|
|
|
|
+ .popsection
|
|
|
|
|
|
/*
|
|
/*
|
|
* APIC interrupts.
|
|
* APIC interrupts.
|