diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-07-10 12:03:17 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-07-11 04:37:53 -0400 |
commit | 5bc8c7cdeb6e3d9c1b938b4029d9a22f8dc5cd9d (patch) | |
tree | ab6230a607234dbee6c3678c5bd494c1e8b207eb | |
parent | f1a1b63529986d0c8970da182f0935eae059421b (diff) |
m68k: Export mach_random_get_entropy to modules
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>
-rw-r--r-- | arch/m68k/kernel/time.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
14 | #include <linux/export.h> | ||
14 | #include <linux/module.h> | 15 | #include <linux/module.h> |
15 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
16 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
@@ -30,6 +31,7 @@ | |||
30 | 31 | ||
31 | 32 | ||
32 | unsigned long (*mach_random_get_entropy)(void); | 33 | unsigned long (*mach_random_get_entropy)(void); |
34 | EXPORT_SYMBOL_GPL(mach_random_get_entropy); | ||
33 | 35 | ||
34 | 36 | ||
35 | /* | 37 | /* |