git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-sparc64
/
kprobes.h
diff --git
a/include/asm-sparc64/kprobes.h
b/include/asm-sparc64/kprobes.h
index
e4efe65
..
becc38f
100644
(file)
--- a/
include/asm-sparc64/kprobes.h
+++ b/
include/asm-sparc64/kprobes.h
@@
-1,7
+1,6
@@
#ifndef _SPARC64_KPROBES_H
#define _SPARC64_KPROBES_H
#ifndef _SPARC64_KPROBES_H
#define _SPARC64_KPROBES_H
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/percpu.h>
#include <linux/types.h>
#include <linux/percpu.h>
@@
-13,6
+12,12
@@
typedef u32 kprobe_opcode_t;
#define JPROBE_ENTRY(pentry) (kprobe_opcode_t *)pentry
#define arch_remove_kprobe(p) do {} while (0)
#define JPROBE_ENTRY(pentry) (kprobe_opcode_t *)pentry
#define arch_remove_kprobe(p) do {} while (0)
+#define ARCH_INACTIVE_KPROBE_COUNT 0
+
+#define flush_insn_slot(p) \
+do { flushi(&(p)->ainsn.insn[0]); \
+ flushi(&(p)->ainsn.insn[1]); \
+} while (0)
/* Architecture specific copy of original instruction*/
struct arch_specific_insn {
/* Architecture specific copy of original instruction*/
struct arch_specific_insn {
@@
-22,7
+27,7
@@
struct arch_specific_insn {
struct prev_kprobe {
struct kprobe *kp;
struct prev_kprobe {
struct kprobe *kp;
- unsigned
int
status;
+ unsigned
long
status;
unsigned long orig_tnpc;
unsigned long orig_tstate_pil;
};
unsigned long orig_tnpc;
unsigned long orig_tstate_pil;
};
@@
-32,10
+37,7
@@
struct kprobe_ctlblk {
unsigned long kprobe_status;
unsigned long kprobe_orig_tnpc;
unsigned long kprobe_orig_tstate_pil;
unsigned long kprobe_status;
unsigned long kprobe_orig_tnpc;
unsigned long kprobe_orig_tstate_pil;
- long *jprobe_saved_esp;
struct pt_regs jprobe_saved_regs;
struct pt_regs jprobe_saved_regs;
- struct pt_regs *jprobe_saved_regs_location;
- struct sparc_stackf jprobe_saved_stack;
struct prev_kprobe prev_kprobe;
};
struct prev_kprobe prev_kprobe;
};