Re: 2.6.7-mm7
From: William Lee Irwin III
Date: Fri Jul 09 2004 - 17:13:54 EST
On Fri, Jul 09, 2004 at 02:04:23PM -0700, William Lee Irwin III wrote:
> In file included from include/asm/sbus.h:10,
> from arch/sparc64/kernel/auxio.c:15:
> include/linux/dma-mapping.h: In function `dma_mark_declared_memory_occupied':
> include/linux/dma-mapping.h:47: warning: implicit declaration of function `ERR_PTR'
> include/linux/dma-mapping.h:47: error: `EBUSY' undeclared (first use in this function)
> include/linux/dma-mapping.h:47: error: (Each undeclared identifier is reported only once
> include/linux/dma-mapping.h:47: error: for each function it appears in.)
> include/linux/dma-mapping.h:47: warning: return makes pointer from integer without a cast
compilefix for sparc64 suggested by hch and jejb:
Index: mm7-2.6.7/include/linux/dma-mapping.h
===================================================================
--- mm7-2.6.7.orig/include/linux/dma-mapping.h 2004-07-09 13:54:32.444030032 -0700
+++ mm7-2.6.7/include/linux/dma-mapping.h 2004-07-09 14:54:05.996767440 -0700
@@ -1,6 +1,8 @@
#ifndef _ASM_LINUX_DMA_MAPPING_H
#define _ASM_LINUX_DMA_MAPPING_H
+#include <linux/err.h>
+
/* These definitions mirror those in pci.h, so they can be used
* interchangeably with their PCI_ counterparts */
enum dma_data_direction {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/