From patchwork Fri Jan 9 17:12:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "George G. Davis" X-Patchwork-Id: 5601921 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 64019C058D for ; Fri, 9 Jan 2015 17:15:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9187B20591 for ; Fri, 9 Jan 2015 17:15:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B44F5204A9 for ; Fri, 9 Jan 2015 17:15:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y9d7U-0000lw-32; Fri, 09 Jan 2015 17:13:08 +0000 Received: from mail-qg0-x22c.google.com ([2607:f8b0:400d:c04::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y9d7N-0000Wk-S5 for linux-arm-kernel@lists.infradead.org; Fri, 09 Jan 2015 17:13:04 +0000 Received: by mail-qg0-f44.google.com with SMTP id q107so9889798qgd.3 for ; Fri, 09 Jan 2015 09:12:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=aXdnwdhkBSV5lL2sT7VQ3v1oYORkrZGFlxmIhyaebks=; b=qeEQE5FQwNGDeiR5tVIUm+as7jq1apQ7FZpPBPoz+RcclaSLPbhjpyY2qtu6OwfX0s +7qn+nWsMSD0Ws2hFHEkj48L3NL9e1hLc4NbjVArfPmwwu2CVsRoeHAmX82AYc9M5xc5 JcBXL7bOkRJDDRZ5NKvwQRdCJs8rk9GurvLphmfvdW3eMtPwDgFFdGJeTojKqBybU/ER gWa4T+JnjjtLOPN7zP4qzKfTi+RXa/kDUKc3cTEKEjv/RkzcK+0Cyx1Ou8QTK1r5wOj+ IG8Tr00mROyaG4ZA/lMwaWxtyhBijzTbdRYZFhVPL/cskYYsAmQx8VMYRPd7c4+XesLD KmEA== X-Received: by 10.140.34.67 with SMTP id k61mr24477336qgk.95.1420823559772; Fri, 09 Jan 2015 09:12:39 -0800 (PST) Received: from gandalf.middle.earth.net (pool-108-49-51-88.bstnma.fios.verizon.net. [108.49.51.88]) by mx.google.com with ESMTPSA id n1sm7470729qag.21.2015.01.09.09.12.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jan 2015 09:12:39 -0800 (PST) From: "George G. Davis" X-Google-Original-From: "George G. Davis" To: linux-arm-kernel@lists.infradead.org, Russell King Subject: [PATCH] ARM: mm: Fix dma_contiguous_reserve comment Date: Fri, 9 Jan 2015 12:12:28 -0500 Message-Id: <1420823548-37979-1-git-send-email-george_davis@mentor.com> X-Mailer: git-send-email 1.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150109_091302_025851_959D5FC6 X-CRM114-Status: UNSURE ( 8.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: "George G. Davis" , Marek Szyprowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Marek Szyprowski --- 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;