Skip to content

Commit d6fe5be

Browse files
Jan WillekeMartin Schwidefsky
authored andcommitted
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>
1 parent fcb1c2d commit d6fe5be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/s390/kernel/uprobes.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
* Author(s): Jan Willeke,
66
*/
77

8-
#include <linux/kprobes.h>
98
#include <linux/uaccess.h>
109
#include <linux/uprobes.h>
1110
#include <linux/compat.h>
1211
#include <linux/kdebug.h>
1312
#include <asm/switch_to.h>
1413
#include <asm/facility.h>
14+
#include <asm/kprobes.h>
1515
#include <asm/dis.h>
1616
#include "entry.h"
1717

‎arch/s390/lib/probes.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright IBM Corp. 2014
55
*/
66

7-
#include <linux/kprobes.h>
7+
#include <asm/kprobes.h>
88
#include <asm/dis.h>
99

1010
int probe_is_prohibited_opcode(u16 *insn)

0 commit comments

Comments
 (0)