Google
  Web www.spinics.net

2.6.26-rc4 + xscaleiop compile errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi all,

I'm trying to compile Dan Williams' 2.6.26-rc4 xscaleiop tree, as 
described here:

http://git.kernel.org/?p=linux/kernel/git/djbw/xscaleiop.git;a=shortlog;h=misc

and downloaded using git from here:

git://git.kernel.org/pub/scm/linux/kernel/git/djbw/xscaleiop.git

using the ARM DMA patches included in that tree. The relevant parts of my 
.config, I hope, are:

CONFIG_INTEL_IOP_ADMA=y
CONFIG_DMA_ENGINE=y
CONFIG_DMA_COPY_CLEAR_PAGE=y
CONFIG_POLLED_DMA_MEMCPY=y
CONFIG_POLLED_DMA_COPY_FROM_USER=y
CONFIG_ASYNC_MEMCPY=y
CONFIG_ASYNC_MEMSET=y

I get the following error:

  CC      drivers/dma/copy_from_user.o
drivers/dma/copy_from_user.c:62:64: error: macro "async_tx_find_channel" 
  requires 7 arguments, but only 2 given
drivers/dma/copy_from_user.c: In function 
  '__try_polled_dma_copy_from_user':
drivers/dma/copy_from_user.c:62: error: 'async_tx_find_channel' undeclared 
  (first use in this function)
drivers/dma/copy_from_user.c:62: error: (Each undeclared identifier is 
  reported only once
drivers/dma/copy_from_user.c:62: error: for each function it appears in.)
drivers/dma/copy_from_user.c:113: error: too few arguments to function 
  'device->device_prep_dma_memcpy'
drivers/dma/copy_from_user.c:123: error: 'struct dma_async_tx_descriptor' 
  has no member named 'tx_set_dest'
drivers/dma/copy_from_user.c:124: error: 'struct dma_async_tx_descriptor' 
  has no member named 'tx_set_src'
make[2]: *** [drivers/dma/copy_from_user.o] Error 1

It appears that the DMA patches are incomplete or inconsistent with 
respect to recent kernel changes. Does anyone have any advice about 
dealing with this error, other than disabling 
CONFIG_POLLED_DMA_COPY_FROM_USER?

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\ _/_/_/_//_/___/ | We are GNU : free your mind & your software |

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Add to Google

Google PageRank Checking tool