projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a1b63
)
m68k: Export mach_random_get_entropy to modules
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Thu, 10 Jul 2014 16:03:17 +0000
(18:03 +0200)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Fri, 11 Jul 2014 08:37:53 +0000
(10:37 +0200)
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>
arch/m68k/kernel/time.c
patch
|
blob
|
history
diff --git
a/arch/m68k/kernel/time.c
b/arch/m68k/kernel/time.c
index 958f1adb9d0c421eeec89d1cdbdf62361a866326..3857737e3958fd3b4735cafd80f804c3be571ebb 100644
(file)
--- 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);
/*