| Submitter | Herton Ronaldo Krzesinski |
|---|---|
| Date | Dec. 13, 2012, 1:58 p.m. |
| Message ID | <1355407206-17100-130-git-send-email-herton.krzesinski@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/205978/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 947cf90..9ee1787 100644 --- 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(struct pt_regs *regs) return (unsigned long)regs; } +EXPORT_SYMBOL_GPL(kernel_stack_pointer); static unsigned long *pt_regs_access(struct pt_regs *regs, unsigned long regno) {