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
[PATCH] powerpc: export validate_sp for oprofile calltrace
[pandora-kernel.git]
/
include
/
asm-powerpc
/
processor.h
diff --git
a/include/asm-powerpc/processor.h
b/include/asm-powerpc/processor.h
index
a64198f
..
57643b5
100644
(file)
--- a/
include/asm-powerpc/processor.h
+++ b/
include/asm-powerpc/processor.h
@@
-251,6
+251,10
@@
static inline unsigned long __pack_fe01(unsigned int fpmode)
#define cpu_relax() barrier()
#endif
+/* Check that a certain kernel stack pointer is valid in task_struct p */
+int validate_sp(unsigned long sp, struct task_struct *p,
+ unsigned long nbytes);
+
/*
* Prefetch macros.
*/