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)
commit5286944d75cbe21dd21b0d57335cc6206622b62a
tree2e881f338a075bf303e13641ad1ca3fb6fc42658
parent7f2d889c9cdcd33e8942a23765623adbd468cf04
alpha: fix compile errors in dma-mapping-common.h

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