From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx125.postini.com [74.125.245.125]) by kanga.kvack.org (Postfix) with SMTP id 0BAD96B0302 for ; Sun, 24 Jun 2012 22:12:22 -0400 (EDT) Date: Mon, 25 Jun 2012 11:11:21 +0900 From: Paul Mundt Subject: Re: [PATCH -mm v2 11/11] mm: remove SH arch_get_unmapped_area functions Message-ID: <20120625021121.GA9317@linux-sh.org> References: <1340315835-28571-1-git-send-email-riel@surriel.com> <1340315835-28571-12-git-send-email-riel@surriel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1340315835-28571-12-git-send-email-riel@surriel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Rik van Riel Cc: linux-mm@kvack.org, akpm@linux-foundation.org, aarcange@redhat.com, peterz@infradead.org, minchan@gmail.com, kosaki.motohiro@gmail.com, andi@firstfloor.org, hannes@cmpxchg.org, mel@csn.ul.ie, linux-kernel@vger.kernel.org, Rik van Riel , Magnus Damm , linux-sh@vger.kernel.org On Thu, Jun 21, 2012 at 05:57:15PM -0400, Rik van Riel wrote: > Remove the SH special variants of arch_get_unmapped_area since > the generic functions should now be able to handle everything. > > Paul, does anything in NOMMU SH need shm_align_mask? > > Untested because I have no SH hardware. > > Signed-off-by: Rik van Riel > Cc: Paul Mundt > Cc: Magnus Damm > Cc: linux-sh@vger.kernel.org We don't particularly need it for the nommu case, it's just using the default PAGE_SIZE case there. The primary reason for having it defined is so we can use the same cache alias checking and d-cache purging code on parts that can operate with or without the MMU enabled. So it would be nice to have the variable generally accessible regardless of CONFIG_MMU setting, rather than having to have a private definition for the nommu case. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org