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
vserver 1.9.3
[linux-2.6.git]
/
include
/
asm-um
/
ptrace-generic.h
diff --git
a/include/asm-um/ptrace-generic.h
b/include/asm-um/ptrace-generic.h
index
c5a13e6
..
8c472eb
100644
(file)
--- a/
include/asm-um/ptrace-generic.h
+++ b/
include/asm-um/ptrace-generic.h
@@
-45,6
+45,8
@@
struct pt_regs {
#define PT_REGS_SC(r) UPT_SC(&(r)->regs)
+#define instruction_pointer(regs) PT_REGS_IP(regs)
+
struct task_struct;
extern unsigned long getreg(struct task_struct *child, int regno);