diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-07-14 09:59:41 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 10:02:24 +0200 |
commit | 5532bd0f8591a5f61cfe903646e1f55e047bae90 (patch) | |
tree | 91d8f57ed2281c94342cc01bb0173428fd27bb48 /arch/s390/kernel/kprobes.c | |
parent | 0d130066801af8f0a0ea8c70c9c7374c51fd1a92 (diff) | |
download | op-kernel-dev-5532bd0f8591a5f61cfe903646e1f55e047bae90.zip op-kernel-dev-5532bd0f8591a5f61cfe903646e1f55e047bae90.tar.gz |
[S390] Cleanup kprobes printk messages.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/kprobes.c')
-rw-r--r-- | arch/s390/kernel/kprobes.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c index ed04d13..288ad49 100644 --- a/arch/s390/kernel/kprobes.c +++ b/arch/s390/kernel/kprobes.c @@ -41,10 +41,8 @@ int __kprobes arch_prepare_kprobe(struct kprobe *p) if (is_prohibited_opcode((kprobe_opcode_t *) p->addr)) return -EINVAL; - if ((unsigned long)p->addr & 0x01) { - printk("Attempt to register kprobe at an unaligned address\n"); + if ((unsigned long)p->addr & 0x01) return -EINVAL; - } /* Use the get_insn_slot() facility for correctness */ if (!(p->ainsn.insn = get_insn_slot())) |