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:
07ed76b
)
[PATCH] dac960: add disk entropy in request completions
author
Matt Mackall
<
[email protected]
>
Wed, 8 Mar 2006 05:55:47 +0000
(21:55 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 8 Mar 2006 22:15:04 +0000
(14:15 -0800)
Signed-off-by: Matt Mackall <
[email protected]
>
Tested-by: Anders K. Pedersen <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/block/DAC960.c
patch
|
blob
|
history
diff --git
a/drivers/block/DAC960.c
b/drivers/block/DAC960.c
index 6ede1f352c2954d246ead5288a31cb181ea220df..37b8cda3e8bc909c02d38fbf02e99fded1d1d88a 100644
(file)
--- a/
drivers/block/DAC960.c
+++ b/
drivers/block/DAC960.c
@@
-41,6
+41,7
@@
#include <linux/timer.h>
#include <linux/pci.h>
#include <linux/init.h>
+#include <linux/random.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include "DAC960.h"
@@
-3463,7
+3464,7
@@
static inline boolean DAC960_ProcessCompletedRequest(DAC960_Command_T *Command,
Command->SegmentCount, Command->DmaDirection);
if (!end_that_request_first(Request, UpToDate, Command->BlockCount)) {
-
+ add_disk_randomness(Request->rq_disk);
end_that_request_last(Request, UpToDate);
if (Command->Completion) {