diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-01-05 06:47:25 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 06:47:24 -0500 |
commit | 860dba45e81be2e1ba977617652ae36084daebaf (patch) | |
tree | edeb79a565754fcec0d6bcfb225e36ad761cba48 /arch/s390/kernel/entry.S | |
parent | 4a1886358b2d68f6f8745bfc10399c2376681acc (diff) |
[S390] add kprobes annotations
Add kprobes annotations to get the massive 'probe kernel.function("*") {}'
stress test working.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.S')
-rw-r--r-- | arch/s390/kernel/entry.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 1ecc337fb679..68d1a02db6be 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S | |||
@@ -188,6 +188,8 @@ STACK_SIZE = 1 << STACK_SHIFT | |||
188 | ssm __SF_EMPTY(%r15) | 188 | ssm __SF_EMPTY(%r15) |
189 | .endm | 189 | .endm |
190 | 190 | ||
191 | .section .kprobes.text, "ax" | ||
192 | |||
191 | /* | 193 | /* |
192 | * Scheduler resume function, called by switch_to | 194 | * Scheduler resume function, called by switch_to |
193 | * gpr2 = (task_struct *) prev | 195 | * gpr2 = (task_struct *) prev |
@@ -861,6 +863,8 @@ restart_crash: | |||
861 | restart_go: | 863 | restart_go: |
862 | #endif | 864 | #endif |
863 | 865 | ||
866 | .section .kprobes.text, "ax" | ||
867 | |||
864 | #ifdef CONFIG_CHECK_STACK | 868 | #ifdef CONFIG_CHECK_STACK |
865 | /* | 869 | /* |
866 | * The synchronous or the asynchronous stack overflowed. We are dead. | 870 | * The synchronous or the asynchronous stack overflowed. We are dead. |