summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2006-03-08 06:55:47 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-08 23:15:04 +0100
commit62287fbb54b4af71dc5a4918350f81a4cd467788 (patch)
tree0242e2f6e11ce93c0bec8f72228f4f7c6f8e2161 /drivers/block
parent[PATCH] slab: allocate larger cache_cache if order 0 fails (diff)
downloadlinux-62287fbb54b4af71dc5a4918350f81a4cd467788.tar.xz
linux-62287fbb54b4af71dc5a4918350f81a4cd467788.zip
[PATCH] dac960: add disk entropy in request completions
Signed-off-by: Matt Mackall <mpm@selenic.com> Tested-by: Anders K. Pedersen <akp@cohaesio.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/DAC960.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c
index 6ede1f352c29..37b8cda3e8bc 100644
--- 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) {