linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
To: LKML <linux-kernel@vger.kernel.org>,
	linuxppc-dev@ozlabs.org, Andy Whitcroft <apw@shadowen.org>
Subject: 2.6.23-git-10 Build Failure on powerpc - asm-powerpc/dma_mapping.h
Date: Wed, 17 Oct 2007 11:50:49 +0530	[thread overview]
Message-ID: <4715A9C1.9090106@linux.vnet.ibm.com> (raw)

Hi,

Build fails on the powerpc fails with 2.6.23-git10

  CC      init/main.o
In file included from include/linux/dma-mapping.h:42,
                 from include/linux/dmaengine.h:29,
                 from include/linux/skbuff.h:29,
                 from include/linux/netlink.h:155,
                 from include/linux/genetlink.h:4,
                 from include/net/genetlink.h:4,
                 from include/linux/taskstats_kern.h:12,
                 from init/main.c:45:
include/asm/dma-mapping.h: In function `dma_unmap_page':
include/asm/dma-mapping.h:14: error: implicit declaration of function `get_dma_ops'
include/asm/dma-mapping.h:14: warning: initialization makes pointer from integer without a cast
include/asm/dma-mapping.h:17: error: dereferencing pointer to incomplete type
include/asm/dma-mapping.h: At top level:
include/asm/dma-mapping.h:21: warning: `struct scatterlist' declared inside parameter list
include/asm/dma-mapping.h:21: warning: its scope is only this definition or declaration, which is probably not what you want
include/asm/dma-mapping.h: In function `dma_map_sg':
include/asm/dma-mapping.h:23: warning: initialization makes pointer from integer without a cast
include/asm/dma-mapping.h:26: error: dereferencing pointer to incomplete type
include/asm/dma-mapping.h: At top level:
include/asm/dma-mapping.h:31: warning: `struct scatterlist' declared inside parameter list
include/asm/dma-mapping.h: In function `dma_unmap_sg':
include/asm/dma-mapping.h:33: warning: initialization makes pointer from integer without a cast
include/asm/dma-mapping.h:36: error: dereferencing pointer to incomplete type
include/asm/dma-mapping.h: In function `dma_sync_single_for_cpu':
include/asm/dma-mapping.h:167: error: implicit declaration of function `__dma_sync'
include/asm/dma-mapping.h:167: error: implicit declaration of function `bus_to_virt'
include/asm/dma-mapping.h: At top level:
include/asm/dma-mapping.h:180: warning: `struct scatterlist' declared inside parameter list
include/asm/dma-mapping.h: In function `dma_sync_sg_for_cpu':
include/asm/dma-mapping.h:187: error: implicit declaration of function `for_each_sg'
include/asm/dma-mapping.h:188: error: parse error before "__dma_sync_page"
include/asm/dma-mapping.h: At top level:
include/asm/dma-mapping.h:193: warning: `struct scatterlist' declared inside parameter list
include/asm/dma-mapping.h: In function `dma_sync_sg_for_device':
include/asm/dma-mapping.h:201: error: parse error before "__dma_sync_page"
include/asm/dma-mapping.h: In function `dma_mapping_error':
include/asm/dma-mapping.h:207: error: `DMA_ERROR_CODE' undeclared (first use in this function)
include/asm/dma-mapping.h:207: error: (Each undeclared identifier is reported only once
include/asm/dma-mapping.h:207: error: for each function it appears in.)
In file included from include/linux/dma-mapping.h:42,
                 from include/linux/dmaengine.h:29,
                 from include/linux/skbuff.h:29,
                 from include/linux/netlink.h:155,
                 from include/linux/genetlink.h:4,
                 from include/net/genetlink.h:4,
                 from include/linux/taskstats_kern.h:12,
                 from init/main.c:45:
include/asm/dma-mapping.h:259:2: #endif without #if
include/asm/dma-mapping.h:260:2: #endif without #if
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

             reply	other threads:[~2007-10-17  6:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17  6:20 Kamalesh Babulal [this message]
2007-10-17  6:50 ` 2.6.23-git-10 Build Failure on powerpc - asm-powerpc/dma_mapping.h Olof Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4715A9C1.9090106@linux.vnet.ibm.com \
    --to=kamalesh@linux.vnet.ibm.com \
    --cc=apw@shadowen.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).