[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>

authored by Matt Mackall and committed by Linus Torvalds 62287fbb 07ed76b2

+2 -1
+2 -1
drivers/block/DAC960.c
··· 41 41 #include <linux/timer.h> 42 42 #include <linux/pci.h> 43 43 #include <linux/init.h> 44 + #include <linux/random.h> 44 45 #include <asm/io.h> 45 46 #include <asm/uaccess.h> 46 47 #include "DAC960.h" ··· 3464 3463 Command->SegmentCount, Command->DmaDirection); 3465 3464 3466 3465 if (!end_that_request_first(Request, UpToDate, Command->BlockCount)) { 3467 - 3466 + add_disk_randomness(Request->rq_disk); 3468 3467 end_that_request_last(Request, UpToDate); 3469 3468 3470 3469 if (Command->Completion) {