Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262375AbVDGBYA (ORCPT ); Wed, 6 Apr 2005 21:24:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262371AbVDGBX7 (ORCPT ); Wed, 6 Apr 2005 21:23:59 -0400 Received: from bay-bridge.veritas.com ([143.127.3.10]:30361 "EHLO MTVMIME01.enterprise.veritas.com") by vger.kernel.org with ESMTP id S262380AbVDGBTn (ORCPT ); Wed, 6 Apr 2005 21:19:43 -0400 Date: Thu, 7 Apr 2005 02:19:48 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@goblin.wat.veritas.com To: Andrew Morton cc: Nick Piggin , Russell King , linux-kernel@vger.kernel.org Subject: [PATCH 6/6] freepgt2: remove FIRST_USER_ADDRESS hack In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 912 Lines: 28 Once all the MMU architectures define FIRST_USER_ADDRESS, remove hack from mmap.c which derived it from FIRST_USER_PGD_NR. Signed-off-by: Hugh Dickins --- mm/mmap.c | 5 ----- 1 files changed, 5 deletions(-) --- 2.6.12-rc2-mm1+/mm/mmap.c 2005-04-05 18:59:01.000000000 +0100 +++ linux/mm/mmap.c 2005-04-07 00:32:43.000000000 +0100 @@ -1608,11 +1608,6 @@ static void unmap_vma_list(struct mm_str validate_mm(mm); } -#ifndef FIRST_USER_ADDRESS /* temporary hack */ -#define THIS_IS_ARM FIRST_USER_PGD_NR -#define FIRST_USER_ADDRESS (THIS_IS_ARM * PAGE_SIZE) -#endif - /* * Get rid of page table information in the indicated region. * - 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/