Skip to content

Commit

Permalink
alpha: fix compile errors in dma-mapping-common.h
Browse files Browse the repository at this point in the history
The commit c186cac 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>
  • Loading branch information
FUJITA Tomonori authored and Matt Turner committed Mar 19, 2010
1 parent 7f2d889 commit 5286944
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion arch/alpha/include/asm/core_marvel.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#define __ALPHA_MARVEL__H__

#include <linux/types.h>
#include <linux/pci.h>
#include <linux/spinlock.h>

#include <asm/compiler.h>
Expand Down
1 change: 0 additions & 1 deletion arch/alpha/include/asm/core_mcpcia.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#define MCPCIA_ONE_HAE_WINDOW 1

#include <linux/types.h>
#include <linux/pci.h>
#include <asm/compiler.h>

/*
Expand Down
1 change: 0 additions & 1 deletion arch/alpha/include/asm/core_titan.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define __ALPHA_TITAN__H__

#include <linux/types.h>
#include <linux/pci.h>
#include <asm/compiler.h>

/*
Expand Down
1 change: 0 additions & 1 deletion arch/alpha/include/asm/core_tsunami.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define __ALPHA_TSUNAMI__H__

#include <linux/types.h>
#include <linux/pci.h>
#include <asm/compiler.h>

/*
Expand Down

0 comments on commit 5286944

Please sign in to comment.