aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-23 14:42:11 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-23 15:02:39 -0400
commit117636092a87a28a013a4acb5de5492645ed620f (patch)
tree6d91fa6bd7bf6d0e1671141d338028a17679e607 /drivers/block
parent891039a9c2ddf73754ad84cdc9d030f1c6431858 (diff)
[PATCH] Fix breakage after SG cleanups
Commits 58b053e4ce9d2fc3023645c1b96e537c72aa8d9a ("Update arch/ to use sg helpers") 45711f1af6eff1a6d010703b4862e0d2b9afd056 ("[SG] Update drivers to use sg helpers") fa05f1286be25a8ce915c5dd492aea61126b3f33 ("Update net/ to use sg helpers") converted many files to use the scatter gather helpers without ensuring that the necessary headerfile <linux/scatterlist> is included. This happened to work for ia64, powerpc, sparc64 and x86 because they happened to drag in that file via their <asm/dma-mapping.h>. On most of the others this probably broke. Instead of increasing the header file spider web I choose to include <linux/scatterlist.h> directly into the affectes files. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/DAC960.c1
-rw-r--r--drivers/block/cpqarray.c1
-rw-r--r--drivers/block/sx8.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c
index 53505422867c..9030c373ce67 100644
--- a/drivers/block/DAC960.c
+++ b/drivers/block/DAC960.c
@@ -44,6 +44,7 @@
44#include <linux/init.h> 44#include <linux/init.h>
45#include <linux/jiffies.h> 45#include <linux/jiffies.h>
46#include <linux/random.h> 46#include <linux/random.h>
47#include <linux/scatterlist.h>
47#include <asm/io.h> 48#include <asm/io.h>
48#include <asm/uaccess.h> 49#include <asm/uaccess.h>
49#include "DAC960.h" 50#include "DAC960.h"
diff --git a/drivers/block/cpqarray.c b/drivers/block/cpqarray.c
index efab27fa1083..c8132d958795 100644
--- a/drivers/block/cpqarray.c
+++ b/drivers/block/cpqarray.c
@@ -37,6 +37,7 @@
37#include <linux/spinlock.h> 37#include <linux/spinlock.h>
38#include <linux/blkdev.h> 38#include <linux/blkdev.h>
39#include <linux/genhd.h> 39#include <linux/genhd.h>
40#include <linux/scatterlist.h>
40#include <asm/uaccess.h> 41#include <asm/uaccess.h>
41#include <asm/io.h> 42#include <asm/io.h>
42 43
diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c
index 282a69558e8a..52dc5e131718 100644
--- a/drivers/block/sx8.c
+++ b/drivers/block/sx8.c
@@ -27,6 +27,7 @@
27#include <linux/hdreg.h> 27#include <linux/hdreg.h>
28#include <linux/dma-mapping.h> 28#include <linux/dma-mapping.h>
29#include <linux/completion.h> 29#include <linux/completion.h>
30#include <linux/scatterlist.h>
30#include <asm/io.h> 31#include <asm/io.h>
31#include <asm/uaccess.h> 32#include <asm/uaccess.h>
32 33