projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] powerpc: Add oprofile calltrace support
[linux-2.6-block.git]
/
include
/
asm-powerpc
/
oprofile_impl.h
diff --git
a/include/asm-powerpc/oprofile_impl.h
b/include/asm-powerpc/oprofile_impl.h
index df4defc6321c190a621a38a40e3288d98bc65e69..aa180e907a675762fc1fd2ebdad14471b20fcbe4 100644
(file)
--- a/
include/asm-powerpc/oprofile_impl.h
+++ b/
include/asm-powerpc/oprofile_impl.h
@@
-126,5
+126,7
@@
static inline void ctr_write(unsigned int i, unsigned int val)
}
#endif /* !CONFIG_FSL_BOOKE */
+extern void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth);
+
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_OPROFILE_IMPL_H */