sparc64: Export flush_ptrace_access() (needed by lustre)
Subsystems (2)
PATCH v2 1/1 sparc64: Export flush_ptrace_access() (needed by lustre)
ERROR: "flush_ptrace_access" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!
Signed-off-by Geert Uytterhoeven <[email protected]>
---
v2: Use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL
arch/sparc/kernel/ptrace_64.c | 2 ++ 1 file changed, 2 insertions(+)
arch/sparc/kernel/ptrace_64.c +2 -0
@@ -14,6 +14,7 @@#include <linux/sched.h> #include <linux/mm.h> #include <linux/errno.h> +#include <linux/export.h> #include <linux/ptrace.h> #include <linux/user.h> #include <linux/smp.h>
@@ -116,6 +117,7 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,preempt_enable (); } +EXPORT_SYMBOL_GPL (flush_ptrace_access);static int get_from_target (struct task_struct *target,unsigned long uaddr,void *kbuf,int len)
Signature · 1 line
1.7.9.5
From: Geert Uytterhoeven <[email protected]>
Date: Thu, 5 Sep 2013 11:17:33 +0200
Quoted 6 lines
ERROR: "
flush_ptrace_access" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!Signed-off-by Geert Uytterhoeven <[email protected]>---
v2: UseEXPORT_SYMBOL_GPLinstead ofEXPORT_SYMBOL
Applied, thank you.