Prechádzať zdrojové kódy

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>
Jan Willeke 10 rokov pred
rodič
commit
d6fe5be34c
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      arch/s390/kernel/uprobes.c
  2. 1 1
      arch/s390/lib/probes.c

+ 1 - 1
arch/s390/kernel/uprobes.c

@@ -5,13 +5,13 @@
  *    Author(s): Jan Willeke,
  */
 
-#include <linux/kprobes.h>
 #include <linux/uaccess.h>
 #include <linux/uprobes.h>
 #include <linux/compat.h>
 #include <linux/kdebug.h>
 #include <asm/switch_to.h>
 #include <asm/facility.h>
+#include <asm/kprobes.h>
 #include <asm/dis.h>
 #include "entry.h"
 

+ 1 - 1
arch/s390/lib/probes.c

@@ -4,7 +4,7 @@
  *    Copyright IBM Corp. 2014
  */
 
-#include <linux/kprobes.h>
+#include <asm/kprobes.h>
 #include <asm/dis.h>
 
 int probe_is_prohibited_opcode(u16 *insn)