mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ea036230f7
The declarations of arch-specific functions have been moved to a common
header in commit 3820b4d278
('uprobes: Move function declarations out
of arch'), but MIPS and S390 has added them to their own trees later.
Remove the unnecessary duplicates.
Link: http://lkml.kernel.org/r/1472804384-17830-1-git-send-email-marcin.nowakowski@imgtec.com
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
33 lines
549 B
C
33 lines
549 B
C
/*
|
|
* User-space Probes (UProbes) for s390
|
|
*
|
|
* Copyright IBM Corp. 2014
|
|
* Author(s): Jan Willeke,
|
|
*/
|
|
|
|
#ifndef _ASM_UPROBES_H
|
|
#define _ASM_UPROBES_H
|
|
|
|
#include <linux/notifier.h>
|
|
|
|
typedef u16 uprobe_opcode_t;
|
|
|
|
#define UPROBE_XOL_SLOT_BYTES 256 /* cache aligned */
|
|
|
|
#define UPROBE_SWBP_INSN 0x0002
|
|
#define UPROBE_SWBP_INSN_SIZE 2
|
|
|
|
struct arch_uprobe {
|
|
union{
|
|
uprobe_opcode_t insn[3];
|
|
uprobe_opcode_t ixol[3];
|
|
};
|
|
unsigned int saved_per : 1;
|
|
unsigned int saved_int_code;
|
|
};
|
|
|
|
struct arch_uprobe_task {
|
|
};
|
|
|
|
#endif /* _ASM_UPROBES_H */
|