Skip to content

Commit

Permalink
s390/uprobes: fix kprobes dependency
Browse files Browse the repository at this point in the history
If kprobes is disabled uprobes will not compile.
Fix this by including the correct header files.

Signed-off-by: Jan Willeke <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
Jan Willeke authored and Martin Schwidefsky committed Oct 17, 2014
1 parent fcb1c2d commit d6fe5be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/s390/kernel/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion arch/s390/lib/probes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d6fe5be

Please sign in to comment.