alpha: fix compile errors in dma-mapping-common.h
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 19 Mar 2010 02:35:28 +0000 (22:35 -0400)
committerMatt Turner <mattst88@gmail.com>
Fri, 19 Mar 2010 02:35:28 +0000 (22:35 -0400)
The commit c186caca3dbe7f44da624cb4f9d78e1b1dfb13b8 leads to the
following errors with CONFIG_ALPHA_{TSUNAMI, TITAN, RAWHIDE, MARVEL}:
/home/fujita/git/linux-2.6/include/asm-generic/dma-mapping-common.h: In
function `dma_map_sg_attrs':
/home/fujita/git/linux-2.6/include/asm-generic/dma-mapping-common.h:49:
error: implicit declaration of function `for_each_sg'
/home/fujita/git/linux-2.6/include/asm-generic/dma-mapping-common.h:50:
error: syntax error before "kmemcheck_mark_initialized"

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reported-by: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/include/asm/core_marvel.h
arch/alpha/include/asm/core_mcpcia.h
arch/alpha/include/asm/core_titan.h
arch/alpha/include/asm/core_tsunami.h

index 30d55fe7aaf6a60333d9c0b2c4e5ce3925ecb299..dad300fa14ce3778d3e89419d34fbb8498bdbd64 100644 (file)
@@ -12,7 +12,6 @@
 #define __ALPHA_MARVEL__H__
 
 #include <linux/types.h>
-#include <linux/pci.h>
 #include <linux/spinlock.h>
 
 #include <asm/compiler.h>
index acf55b48347207550edadb3691081bf1df1d251e..21ac53383b37eca3cea4e4ff3ac9b0c6d7989d67 100644 (file)
@@ -6,7 +6,6 @@
 #define MCPCIA_ONE_HAE_WINDOW 1
 
 #include <linux/types.h>
-#include <linux/pci.h>
 #include <asm/compiler.h>
 
 /*
index a17f6f33b68ec6f339199ed4371307cf20999d2d..8cf79d1219e159ccda9985df9f4511c04dc78fc1 100644 (file)
@@ -2,7 +2,6 @@
 #define __ALPHA_TITAN__H__
 
 #include <linux/types.h>
-#include <linux/pci.h>
 #include <asm/compiler.h>
 
 /*
index 58d4fe48742c49c09b03657c97d6269d7e930d02..8e39ecf09419c890c8b8ec4e30b44e53eff3a11a 100644 (file)
@@ -2,7 +2,6 @@
 #define __ALPHA_TSUNAMI__H__
 
 #include <linux/types.h>
-#include <linux/pci.h>
 #include <asm/compiler.h>
 
 /*