Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/uprobes: fix kprobes dependency

If kprobes is disabled uprobes will not compile.
Fix this by including the correct header files.

Signed-off-by: Jan Willeke <willeke@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Jan Willeke and committed by
Martin Schwidefsky
d6fe5be3 fcb1c2d7

+2 -2
+1 -1
arch/s390/kernel/uprobes.c
··· 5 5 * Author(s): Jan Willeke, 6 6 */ 7 7 8 - #include <linux/kprobes.h> 9 8 #include <linux/uaccess.h> 10 9 #include <linux/uprobes.h> 11 10 #include <linux/compat.h> 12 11 #include <linux/kdebug.h> 13 12 #include <asm/switch_to.h> 14 13 #include <asm/facility.h> 14 + #include <asm/kprobes.h> 15 15 #include <asm/dis.h> 16 16 #include "entry.h" 17 17
+1 -1
arch/s390/lib/probes.c
··· 4 4 * Copyright IBM Corp. 2014 5 5 */ 6 6 7 - #include <linux/kprobes.h> 7 + #include <asm/kprobes.h> 8 8 #include <asm/dis.h> 9 9 10 10 int probe_is_prohibited_opcode(u16 *insn)