linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mm: Fix dma_contiguous_reserve comment
Date: Wed, 14 Jan 2015 10:22:05 +0100	[thread overview]
Message-ID: <54B6353D.8050109@samsung.com> (raw)
In-Reply-To: <1420823548-37979-1-git-send-email-george_davis@mentor.com>

Hello,

On 2015-01-09 18:12, George G. Davis wrote:
> DMA contiguous allocations have been able to use highmem since commit
> "95b0e65 ARM: mm: don't limit default CMA region only to low memory"
> but a comment still notes the earlier "low memory" limitation.  Update
> the comment to remove the low memory limitation and fix the
> s/contigouos/contiguous/ typo while we're at it.
>
> Signed-off-by: George G. Davis <george_davis@mentor.com>

Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---
>   arch/arm/mm/init.c | 5 +----
>   1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
> index 98ad9c7..d538dc7 100644
> --- a/arch/arm/mm/init.c
> +++ b/arch/arm/mm/init.c
> @@ -319,10 +319,7 @@ void __init arm_memblock_init(const struct machine_desc *mdesc)
>   
>   	early_init_fdt_scan_reserved_mem();
>   
> -	/*
> -	 * reserve memory for DMA contigouos allocations,
> -	 * must come from DMA area inside low memory
> -	 */
> +	/* reserve memory for DMA contiguous allocations */
>   	dma_contiguous_reserve(arm_dma_limit);
>   
>   	arm_memblock_steal_permitted = false;

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland

      reply	other threads:[~2015-01-14  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-09 17:12 [PATCH] ARM: mm: Fix dma_contiguous_reserve comment George G. Davis
2015-01-14  9:22 ` Marek Szyprowski [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=54B6353D.8050109@samsung.com \
    --to=m.szyprowski@samsung.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).