From: Geert Uytterhoeven Date: Thu, 5 Sep 2013 09:17:33 +0000 (+0200) Subject: sparc64: Export flush_ptrace_access() (needed by lustre) X-Git-Tag: firefly_0821_release~176^2~5419^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dc76f9ca71ea597dbb0e9c77d1072ddca651f4f3;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/ptrace_64.c b/arch/sparc/kernel/ptrace_64.c index a34833099add..773c1f2983ce 100644 --- a/arch/sparc/kernel/ptrace_64.c +++ b/arch/sparc/kernel/ptrace_64.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -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)