3.6-stable review patch. If anyone has any objections, please let me know.
------------------ From: "H. Peter Anvin" <h...@linux.intel.com> commit cb57a2b4cff7edf2a4e32c0163200e9434807e0a upstream. Modules, in particular oprofile (and possibly other similar tools) need kernel_stack_pointer(), so export it using EXPORT_SYMBOL_GPL(). Link: http://lkml.kernel.org/r/20120912135059.gz8...@erda.amd.com Cc: Yang Wei <wei.y...@windriver.com> Cc: Robert Richter <robert.rich...@amd.com> Cc: Jun Zhang <jun.zh...@intel.com> Signed-off-by: H. Peter Anvin <h...@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/x86/kernel/ptrace.c | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c @@ -21,6 +21,7 @@ #include <linux/signal.h> #include <linux/perf_event.h> #include <linux/hw_breakpoint.h> +#include <linux/module.h> #include <asm/uaccess.h> #include <asm/pgtable.h> @@ -192,6 +193,7 @@ unsigned long kernel_stack_pointer(struc return (unsigned long)regs; } +EXPORT_SYMBOL_GPL(kernel_stack_pointer); static unsigned long *pt_regs_access(struct pt_regs *regs, unsigned long regno) { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/