From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id 808E28D0039 for ; Mon, 7 Mar 2011 13:22:29 -0500 (EST) Message-Id: <20110307172207.377641805@chello.nl> Date: Mon, 07 Mar 2011 18:14:03 +0100 From: Peter Zijlstra Subject: [RFC][PATCH 13/15] mm, parisc: Convert parisc to generic tlb References: <20110307171350.989666626@chello.nl> Content-Disposition: inline; filename=parisc-mmu_range.patch Sender: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@linux-foundation.org, Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Benjamin Herrenschmidt , David Miller , Hugh Dickins , Mel Gorman , Nick Piggin , Peter Zijlstra , Russell King , Chris Metcalf , Martin Schwidefsky , Kyle McMartin , James Bottomley Cc: Kyle McMartin Cc: James Bottomley Signed-off-by: Peter Zijlstra --- arch/parisc/Kconfig | 1 + arch/parisc/include/asm/tlb.h | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) Index: linux-2.6/arch/parisc/Kconfig =================================================================== --- linux-2.6.orig/arch/parisc/Kconfig +++ linux-2.6/arch/parisc/Kconfig @@ -17,6 +17,7 @@ config PARISC select IRQ_PER_CPU select GENERIC_HARDIRQS_NO_DEPRECATED select ARCH_HAVE_NMI_SAFE_CMPXCHG + select HAVE_MMU_GATHER_RANGE help The PA-RISC microprocessor is designed by Hewlett-Packard and used Index: linux-2.6/arch/parisc/include/asm/tlb.h =================================================================== --- linux-2.6.orig/arch/parisc/include/asm/tlb.h +++ linux-2.6/arch/parisc/include/asm/tlb.h @@ -1,16 +1,6 @@ #ifndef _PARISC_TLB_H #define _PARISC_TLB_H -#define tlb_start_vma(tlb, vma) \ -do { if (!(tlb)->fullmm) \ - flush_cache_range(vma, vma->vm_start, vma->vm_end); \ -} while (0) - -#define tlb_end_vma(tlb, vma) \ -do { if (!(tlb)->fullmm) \ - flush_tlb_range(vma, vma->vm_start, vma->vm_end); \ -} while (0) - #define __tlb_remove_tlb_entry(tlb, pte, address) \ do { } while (0) -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org