All of lore.kernel.org
 help / color / mirror / Atom feed
From: gerg@snapgear.com (Greg Ungerer)
To: linux-arm-kernel@lists.infradead.org
Subject: about uclinux for armnommu dma allocate issue
Date: Wed, 13 Apr 2011 04:02:22 +1000	[thread overview]
Message-ID: <4DA493AE.3040007@snapgear.com> (raw)
In-Reply-To: <BANLkTikkzWZcfeic8qUeLKLr5+ef14eA4g@mail.gmail.com>

Hi Wan,

On 11/04/11 00:04, Wan ZongShun wrote:
> I am programming ohci driver for my arm7 based on 2.6.38.
>
> td_alloc ->  dma_pool_alloc ->  dma_alloc_coherent().
>
> In previous uclinux version, there is the consistent.c located in
> arch/armnommu/mm to implement
> this dma_alloc_coherent, but now this latest version, I did not see
> this 'dma_alloc_coherent' function
> for armnommu, so I can use this function directly like this arm mmu?

Yes. There is no separate one for the nommu case. It just
uses the standard one in arch/arm/mm/dma-mapping.c.


> In addtion, the 'kmalloc' is the same to previous uclinux armnommu
> version? I can use it directly?

Oh, yes. There is no changes in how that works.

Regards
Greg

      reply	other threads:[~2011-04-12 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10 14:04 about uclinux for armnommu dma allocate issue Wan ZongShun
2011-04-12 18:02 ` Greg Ungerer [this message]

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=4DA493AE.3040007@snapgear.com \
    --to=gerg@snapgear.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.