[S390] kprobes: instruction swap

Move the definition of the helper structure ins_replace_args to the
only place where it is used and drop the old member as it is not needed.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Martin Schwidefsky
2011-01-05 12:47:18 +01:00
committed by Martin Schwidefsky
parent fc0a1fea6b
commit 5a8b589f8a
2 changed files with 9 additions and 12 deletions

View File

@@ -64,11 +64,6 @@ struct arch_specific_insn {
int reg;
};
struct ins_replace_args {
kprobe_opcode_t *ptr;
kprobe_opcode_t old;
kprobe_opcode_t new;
};
struct prev_kprobe {
struct kprobe *kp;
unsigned long status;