diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-05-02 13:20:11 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-05-03 09:08:57 +0200 |
commit | db55947dd2d09cd3e6f722d1205934fec793ee63 (patch) | |
tree | cf8ae1db47a4da8dda6f5831e2362c99547e9ba1 /arch/s390/include/asm/dis.h | |
parent | 085b6ba0f7971d18fc3078b25e8309e9e75659cb (diff) | |
download | lwn-db55947dd2d09cd3e6f722d1205934fec793ee63.tar.gz lwn-db55947dd2d09cd3e6f722d1205934fec793ee63.zip |
s390/uprobes: fix compile for !KPROBES
Fix the following compile error(s) if CONFIG_KPROBES is disabled:
arch/s390/kernel/uprobes.c:79:14:
error: implicit declaration of function 'probe_get_fixup_type'
arch/s390/kernel/uprobes.c:87:14:
error: 'FIXUP_PSW_NORMAL' undeclared (first use in this function)
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/dis.h')
-rw-r--r-- | arch/s390/include/asm/dis.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/dis.h b/arch/s390/include/asm/dis.h index 60323c21938b..37f617dfbede 100644 --- a/arch/s390/include/asm/dis.h +++ b/arch/s390/include/asm/dis.h @@ -40,6 +40,8 @@ static inline int insn_length(unsigned char code) return ((((int) code + 64) >> 7) + 1) << 1; } +struct pt_regs; + void show_code(struct pt_regs *regs); void print_fn_code(unsigned char *code, unsigned long len); int insn_to_mnemonic(unsigned char *instruction, char *buf, unsigned int len); |