[RFC][PATCH 11/15] mm, avr32: Convert avr32 to generic tlb

From: Peter Zijlstra
Date: Mon Mar 07 2011 - 12:54:31 EST


Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@xxxxxxxxx>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
---
arch/avr32/Kconfig | 1 +
arch/avr32/include/asm/tlb.h | 6 ------
2 files changed, 1 insertion(+), 6 deletions(-)

Index: linux-2.6/arch/avr32/Kconfig
===================================================================
--- linux-2.6.orig/arch/avr32/Kconfig
+++ linux-2.6/arch/avr32/Kconfig
@@ -7,6 +7,7 @@ config AVR32
select HAVE_OPROFILE
select HAVE_KPROBES
select ARCH_HAVE_NMI_SAFE_CMPXCHG
+ select HAVE_MMU_GATHER_RANGE
help
AVR32 is a high-performance 32-bit RISC microprocessor core,
designed for cost-sensitive embedded applications, with particular
Index: linux-2.6/arch/avr32/include/asm/tlb.h
===================================================================
--- linux-2.6.orig/arch/avr32/include/asm/tlb.h
+++ linux-2.6/arch/avr32/include/asm/tlb.h
@@ -8,12 +8,6 @@
#ifndef __ASM_AVR32_TLB_H
#define __ASM_AVR32_TLB_H

-#define tlb_start_vma(tlb, vma) \
- flush_cache_range(vma, vma->vm_start, vma->vm_end)
-
-#define tlb_end_vma(tlb, vma) \
- flush_tlb_range(vma, vma->vm_start, vma->vm_end)
-
#define __tlb_remove_tlb_entry(tlb, pte, address) do { } while(0)

#include <asm-generic/tlb.h>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/