From: Geert Uytterhoeven <geert@linux-m68k•org>
To: linux-m68k@lists•linux-m68k.org
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
Geert Uytterhoeven <geert@linux-m68k•org>
Subject: [PATCH -next] m68k: Export mach_random_get_entropy to modules
Date: Thu, 10 Jul 2014 18:05:53 +0200 [thread overview]
Message-ID: <1405008353-10359-1-git-send-email-geert@linux-m68k.org> (raw)
When a module calls random_get_entropy():
ERROR: "mach_random_get_entropy" [crypto/drbg.ko] undefined!
make[1]: *** [__modpost] Error 1
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k•org>
---
To be queued for 3.17
kisskb.ellerman.id.au/kisskb/buildresult/11449343/
---
arch/m68k/kernel/time.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/m68k/kernel/time.c b/arch/m68k/kernel/time.c
index 958f1adb9d0c..3857737e3958 100644
--- a/arch/m68k/kernel/time.c
+++ b/arch/m68k/kernel/time.c
@@ -11,6 +11,7 @@
*/
#include <linux/errno.h>
+#include <linux/export.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
@@ -30,6 +31,7 @@
unsigned long (*mach_random_get_entropy)(void);
+EXPORT_SYMBOL_GPL(mach_random_get_entropy);
/*
--
1.9.1
reply other threads:[~2014-07-10 16:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405008353-10359-1-git-send-email-geert@linux-m68k.org \
--to=geert@linux-m68k$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-m68k@lists$(echo .)linux-m68k.org \
--cc=linux-next@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox