* [PATCH v2] sparc64: Export flush_ptrace_access() (needed by lustre)
@ 2013-09-05 9:17 Geert Uytterhoeven
2013-09-05 19:15 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2013-09-05 9:17 UTC (permalink / raw)
To: David S. Miller; +Cc: sparclinux, linux-kernel, Geert Uytterhoeven
ERROR: "flush_ptrace_access" [drivers/staging/lustre/lustre/libcfs/libcfs.ko]
undefined!
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
v2: Use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL
arch/sparc/kernel/ptrace_64.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/sparc/kernel/ptrace_64.c b/arch/sparc/kernel/ptrace_64.c
index 7ff45e4..5573998 100644
--- a/arch/sparc/kernel/ptrace_64.c
+++ b/arch/sparc/kernel/ptrace_64.c
@@ -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)
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] sparc64: Export flush_ptrace_access() (needed by lustre)
2013-09-05 9:17 [PATCH v2] sparc64: Export flush_ptrace_access() (needed by lustre) Geert Uytterhoeven
@ 2013-09-05 19:15 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-09-05 19:15 UTC (permalink / raw)
To: geert; +Cc: sparclinux, linux-kernel
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 5 Sep 2013 11:17:33 +0200
> ERROR: "flush_ptrace_access" [drivers/staging/lustre/lustre/libcfs/libcfs.ko]
> undefined!
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
> v2: Use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-05 19:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-05 9:17 [PATCH v2] sparc64: Export flush_ptrace_access() (needed by lustre) Geert Uytterhoeven
2013-09-05 19:15 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®