diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-02-05 15:17:32 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-05 15:17:32 -0500 |
commit | d42335a33b2ca2406d57bb8f0cf00adbdda8cede (patch) | |
tree | 58ad123c8076617b6b058c44f981b3ac25cfdfca /arch/s390 | |
parent | 35df8d53f5c951ac0cd79f1084e6787ca5980207 (diff) |
[S390] kretprobe_trampoline_holder() in wrong section.
kretprobe_trampoline_holder() is in kprobes section but used to
register a kprobe in arch_init_kprobes(). Hence register_kprobe()
and therefore arch_init_kprobes() will fail.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/kprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c index 70db60cbe480..b2e1dc89a8c6 100644 --- a/arch/s390/kernel/kprobes.c +++ b/arch/s390/kernel/kprobes.c | |||
@@ -356,7 +356,7 @@ no_kprobe: | |||
356 | * - When the probed function returns, this probe | 356 | * - When the probed function returns, this probe |
357 | * causes the handlers to fire | 357 | * causes the handlers to fire |
358 | */ | 358 | */ |
359 | void __kprobes kretprobe_trampoline_holder(void) | 359 | void kretprobe_trampoline_holder(void) |
360 | { | 360 | { |
361 | asm volatile(".global kretprobe_trampoline\n" | 361 | asm volatile(".global kretprobe_trampoline\n" |
362 | "kretprobe_trampoline: bcr 0,0\n"); | 362 | "kretprobe_trampoline: bcr 0,0\n"); |