Commit 5532bd0f authored by Martin Schwidefsky's avatar Martin Schwidefsky Committed by Heiko Carstens
Browse files

[S390] Cleanup kprobes printk messages.

parent 0d130066
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -41,10 +41,8 @@ int __kprobes arch_prepare_kprobe(struct kprobe *p)
	if (is_prohibited_opcode((kprobe_opcode_t *) p->addr))
	if (is_prohibited_opcode((kprobe_opcode_t *) p->addr))
		return -EINVAL;
		return -EINVAL;


	if ((unsigned long)p->addr & 0x01) {
	if ((unsigned long)p->addr & 0x01)
		printk("Attempt to register kprobe at an unaligned address\n");
		return -EINVAL;
		return -EINVAL;
		}


	/* Use the get_insn_slot() facility for correctness */
	/* Use the get_insn_slot() facility for correctness */
	if (!(p->ainsn.insn = get_insn_slot()))
	if (!(p->ainsn.insn = get_insn_slot()))
+0 −1
Original line number Original line Diff line number Diff line
@@ -52,7 +52,6 @@ void machine_kexec_cleanup(struct kimage *image)


void machine_shutdown(void)
void machine_shutdown(void)
{
{
	printk(KERN_INFO "kexec: machine_shutdown called\n");
}
}


void machine_kexec(struct kimage *image)
void machine_kexec(struct kimage *image)