Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751568AbbDZINZ (ORCPT ); Sun, 26 Apr 2015 04:13:25 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:57305 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbbDZINV (ORCPT ); Sun, 26 Apr 2015 04:13:21 -0400 Date: Sun, 26 Apr 2015 11:13:13 +0300 From: Baruch Siach To: Min-Hua Chen Cc: Russell King , keescook@chromium.org, nico@linaro.org, Catalin Marinas , Laura Abbott , js07.lee@gmail.com, "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] arm: improve non-section-aligned low memory mapping Message-ID: <20150426081313.GI2258@tarshish> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1333 Lines: 33 Hi Min-Hua Chen On Sun, Apr 26, 2015 at 03:41:17PM +0800, Min-Hua Chen wrote: > diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c > index 2495c8c..6a618f9 100644 > --- a/arch/arm/mm/init.c > +++ b/arch/arm/mm/init.c > @@ -138,7 +138,7 @@ void show_mem(unsigned int filter) > static void __init find_limits(unsigned long *min, unsigned long *max_low, > unsigned long *max_high) > { > - *max_low = PFN_DOWN(memblock_get_current_limit()); > + *max_low = PFN_DOWN(arm_lowmem_limit); > *min = PFN_UP(memblock_start_of_DRAM()); > *max_high = PFN_DOWN(memblock_end_of_DRAM()); > } Your patch is whitespace damaged, and can't be applied as is. Please consider using git send-email to send properly formatted patches. See the EXAMPLE section in http://git-scm.com/docs/git-send-email for example of git send-email using a gmail account. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/