Commit 62287fbb authored by Matt Mackall's avatar Matt Mackall Committed by Linus Torvalds

[PATCH] dac960: add disk entropy in request completions

Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Tested-by: default avatarAnders K. Pedersen <akp@cohaesio.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 07ed76b2
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/random.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include "DAC960.h" #include "DAC960.h"
...@@ -3463,7 +3464,7 @@ static inline boolean DAC960_ProcessCompletedRequest(DAC960_Command_T *Command, ...@@ -3463,7 +3464,7 @@ static inline boolean DAC960_ProcessCompletedRequest(DAC960_Command_T *Command,
Command->SegmentCount, Command->DmaDirection); Command->SegmentCount, Command->DmaDirection);
if (!end_that_request_first(Request, UpToDate, Command->BlockCount)) { if (!end_that_request_first(Request, UpToDate, Command->BlockCount)) {
add_disk_randomness(Request->rq_disk);
end_that_request_last(Request, UpToDate); end_that_request_last(Request, UpToDate);
if (Command->Completion) { if (Command->Completion) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment