linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jdzheng@broadcom.com (Jiandong Zheng)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] arm: mach-bcmring: fix build error in dma.c
Date: Tue, 23 Aug 2011 09:44:04 -0700	[thread overview]
Message-ID: <4E53D8D4.5080208@broadcom.com> (raw)
In-Reply-To: <20110823112128.GA2825@maxin>

On 8/23/2011 4:21 AM, Maxin B John wrote:
>   CC      arch/arm/mach-bcmring/dma.o
> arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg':
> arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE'
> undeclared (first use in this function)
> arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier
> is reported only once
> arch/arm/mach-bcmring/dma.c:1022: error: for each function it appears
> in.)
> arch/arm/mach-bcmring/dma.c:1024: error: implicit declaration of
> function 'schedule'
> arch/arm/mach-bcmring/dma.c:1027: error: implicit declaration of
> function 'signal_pending'
> arch/arm/mach-bcmring/dma.c: In function 'dma_free_channel':
> arch/arm/mach-bcmring/dma.c:1092: error: 'TASK_INTERRUPTIBLE'
> undeclared (first use in this function)
> arch/arm/mach-bcmring/dma.c: In function 'dma_map_add_region':
> arch/arm/mach-bcmring/dma.c:1946: error: dereferencing pointer to
> incomplete type
> arch/arm/mach-bcmring/dma.c:1948: error: dereferencing pointer to
> incomplete type
> arch/arm/mach-bcmring/dma.c:1955: error: dereferencing pointer to
> incomplete type
> make[1]: *** [arch/arm/mach-bcmring/dma.o] Error 1
> make: *** [arch/arm/mach-bcmring] Error 2
>
> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
> ---
> diff --git a/arch/arm/mach-bcmring/dma.c b/arch/arm/mach-bcmring/dma.c
> index 0ca0005..12d1504 100644
> --- a/arch/arm/mach-bcmring/dma.c
> +++ b/arch/arm/mach-bcmring/dma.c
> @@ -35,6 +35,7 @@
>   #include<linux/mm.h>
>   #include<linux/pfn.h>
>   #include<linux/atomic.h>
> +#include<linux/sched.h>
>   #include<mach/dma.h>
>
>   /* I don't quite understand why dc4 fails when this is set to 1 and DMA is enabled */
>
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>

I have same fix submitted on May 12, which was supposed to be applied 
soon but seems it wasn't.

  reply	other threads:[~2011-08-23 16:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-23 11:21 [PATCH 2/2] arm: mach-bcmring: fix build error in dma.c Maxin B John
2011-08-23 16:44 ` Jiandong Zheng [this message]
2011-08-24  6:28   ` Maxin B John
2011-08-24 17:22     ` Jiandong Zheng

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=4E53D8D4.5080208@broadcom.com \
    --to=jdzheng@broadcom.com \
    --cc=linux-arm-kernel@lists.infradead.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).