[PATCH] exporting validate_sp

Hien Nguyen hien at us.ibm.com
Wed Nov 2 11:14:42 EST 2005


This patch will export the validate_sp() function (part of dump_stack
code).

I am developers for the systemtap project:
http://sourceware.org/systemtap/

The SystemTap runtime includes a function for capturing a stack trace as
a string.  For the ppc64 port, we need to have the validate_sp()
function exported so it is accessible to our stack-trace function, which
is part of a SystemTap-generated kernel module.

This patch should apply to kernel 2.6.14-rc5-mm1.

Thanks, Hien.

Signed-off-by: Hien Nguyen <hien at us.ibm.com>

--- linux-2.6.14-rc5.org/arch/ppc64/kernel/process.c	2005-10-19 23:23:05.000000000 -0700
+++ linux-2.6.14-rc5/arch/ppc64/kernel/process.c	2005-11-01 12:54:23.000000000 -0800
@@ -626,6 +626,7 @@
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(validate_sp);
 
 unsigned long get_wchan(struct task_struct *p)
 {





More information about the Linuxppc64-dev mailing list