git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86/tracehook' into x86-v28-for-linus-phase1
[pandora-kernel.git]
/
include
/
asm-x86
/
ptrace.h
diff --git
a/include/asm-x86/ptrace.h
b/include/asm-x86/ptrace.h
index
33a034b
..
d64a610
100644
(file)
--- a/
include/asm-x86/ptrace.h
+++ b/
include/asm-x86/ptrace.h
@@
-250,6
+250,11
@@
static inline unsigned long frame_pointer(struct pt_regs *regs)
return regs->bp;
}
+static inline unsigned long user_stack_pointer(struct pt_regs *regs)
+{
+ return regs->sp;
+}
+
/*
* These are defined as per linux/ptrace.h, which see.
*/