Commit d6fe5be3 authored by Jan Willeke's avatar Jan Willeke Committed by Martin Schwidefsky

s390/uprobes: fix kprobes dependency

If kprobes is disabled uprobes will not compile.
Fix this by including the correct header files.
Signed-off-by: default avatarJan Willeke <willeke@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent fcb1c2d7
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
* Author(s): Jan Willeke, * Author(s): Jan Willeke,
*/ */
#include <linux/kprobes.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/uprobes.h> #include <linux/uprobes.h>
#include <linux/compat.h> #include <linux/compat.h>
#include <linux/kdebug.h> #include <linux/kdebug.h>
#include <asm/switch_to.h> #include <asm/switch_to.h>
#include <asm/facility.h> #include <asm/facility.h>
#include <asm/kprobes.h>
#include <asm/dis.h> #include <asm/dis.h>
#include "entry.h" #include "entry.h"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Copyright IBM Corp. 2014 * Copyright IBM Corp. 2014
*/ */
#include <linux/kprobes.h> #include <asm/kprobes.h>
#include <asm/dis.h> #include <asm/dis.h>
int probe_is_prohibited_opcode(u16 *insn) int probe_is_prohibited_opcode(u16 *insn)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment