Re: linux-next: Tree for July 14

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephen Rothwell <sfr@...>
Cc: Mark Nelson <markn@...>, Arnd Bergmann <arnd@...>, Benjamin Herrenschmidt <benh@...>, <linux-next@...>, LKML <linux-kernel@...>
Date: Tuesday, July 15, 2008 - 8:20 pm

At Mon, 14 Jul 2008 20:12:49 +1000,
Stephen Rothwell wrote:

The build of next-20080714 failed on ppc32:

  CC [M]  drivers/infiniband/core/addr.o
In file included from include/rdma/ib_addr.h:41,
                 from drivers/infiniband/core/addr.c:44:
include/rdma/ib_verbs.h: In function 'ib_dma_map_single_attrs':
include/rdma/ib_verbs.h:1634: error: implicit declaration of function 'dma_map_single_attrs'
include/rdma/ib_verbs.h: In function 'ib_dma_unmap_single_attrs':
include/rdma/ib_verbs.h:1643: error: implicit declaration of function 'dma_unmap_single_attrs'
include/rdma/ib_verbs.h:1644: warning: 'return' with a value, in function returning void
include/rdma/ib_verbs.h: In function 'ib_dma_map_sg_attrs':
include/rdma/ib_verbs.h:1721: error: implicit declaration of function 'dma_map_sg_attrs'
include/rdma/ib_verbs.h: In function 'ib_dma_unmap_sg_attrs':
include/rdma/ib_verbs.h:1729: error: implicit declaration of function 'dma_unmap_sg_attrs'
make[3]: *** [drivers/infiniband/core/addr.o] Error 1


The following patch fixed the build, at least.  Not sure whether it's
the right fix, though.


Takashi

---
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 140ae05..007681c 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -113,7 +113,7 @@ config PPC
 	select HAVE_LMB
 	select USE_GENERIC_SMP_HELPERS if SMP
 	select HAVE_OPROFILE
-	select HAVE_DMA_ATTRS
+	select HAVE_DMA_ATTRS if PPC64
 
 config EARLY_PRINTK
 	bool
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for July 14, Stephen Rothwell, (Mon Jul 14, 6:12 am)
Re: linux-next: Tree for July 14, Rafael J. Wysocki, (Mon Jul 14, 7:35 pm)
Re: linux-next: Tree for July 14, Andrew Morton, (Mon Jul 14, 1:12 pm)
Re: linux-next: Tree for July 14, Takashi Iwai, (Tue Jul 15, 8:23 pm)
Re: linux-next: Tree for July 14, Takashi Iwai, (Tue Jul 15, 8:20 pm)
Re: linux-next: Tree for July 14, Benjamin Herrenschmidt, (Tue Jul 15, 1:50 am)
Re: linux-next: Tree for July 14, Gabriel C, (Mon Jul 14, 10:18 am)
Re: linux-next: Tree for July 14, Gabriel C, (Mon Jul 14, 7:43 am)
Re: linux-next: Tree for July 14, Stephen Rothwell, (Mon Jul 14, 9:47 am)