diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-09-13 13:36:25 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-10-24 17:16:48 +0200 |
commit | 0f20822a69148f53bbafbe6ee3d43e8eff0bad27 (patch) | |
tree | d8748221c6f4fde33411ce204ae9f8c2c74f973e /arch/s390/include/asm/dis.h | |
parent | s390/dis: move common definitions to a header file (diff) | |
download | linux-0f20822a69148f53bbafbe6ee3d43e8eff0bad27.tar.xz linux-0f20822a69148f53bbafbe6ee3d43e8eff0bad27.zip |
s390/dis: move disassembler function prototypes to proper header file
Now that the in-kernel disassembler has an own header file move the
disassembler related function prototypes to that header file.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/include/asm/dis.h b/arch/s390/include/asm/dis.h index 6f73119ef27e..4d0dffc68221 100644 --- a/arch/s390/include/asm/dis.h +++ b/arch/s390/include/asm/dis.h @@ -39,4 +39,8 @@ static inline int insn_length(unsigned char code) return ((((int) code + 64) >> 7) + 1) << 1; } +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); + #endif /* __ASM_S390_DIS_H__ */ |