patch-2.1.36 linux/drivers/char/random.c
Next file: linux/drivers/char/riscom8.c
Previous file: linux/drivers/char/pty.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Tue Apr 22 22:42:47 1997
- Orig file:
v2.1.35/linux/drivers/char/random.c
- Orig date:
Thu Mar 27 14:40:03 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/char/random.c linux/drivers/char/random.c
@@ -234,6 +234,7 @@
#include <linux/malloc.h>
#include <linux/random.h>
#include <linux/poll.h>
+#include <linux/init.h>
#include <asm/uaccess.h>
#include <asm/irq.h>
@@ -451,7 +452,7 @@
init_std_data(&random_state);
}
-void rand_initialize(void)
+__initfunc(void rand_initialize(void))
{
int i;
@@ -1388,8 +1389,9 @@
return (((unsigned long long) high << 31) | low);
}
-static void initialize_benchmark(struct random_benchmark *bench,
- const char *descr, int unit)
+__initfunc(static void
+initialize_benchmark(struct random_benchmark *bench,
+ const char *descr, int unit))
{
bench->times = 0;
bench->accum = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov