2 * linux/arch/arm/mm/tlbv3.S
4 * Copyright (C) 1997-2002 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * ARM architecture version 3 TLB handling functions.
12 * Processors: ARM610, ARM710.
14 #include <linux/linkage.h>
15 #include <linux/init.h>
16 #include <asm/asm-offsets.h>
17 #include <asm/tlbflush.h>
18 #include "proc-macros.S"
22 * v3_flush_user_tlb_range(start, end, mm)
24 * Invalidate a range of TLB entries in the specified address space.
26 * - start - range start address
27 * - end - range end address
28 * - mm - mm_struct describing address space
31 ENTRY(v3_flush_user_tlb_range)
33 act_mm r3 @ get current->active_mm
35 movne pc, lr @ no, we dont do anything
36 ENTRY(v3_flush_kern_tlb_range)
39 1: mcr p15, 0, r0, c6, c0, 0 @ invalidate TLB entry
47 /* define struct cpu_tlb_fns (see <asm/tlbflush.h> and proc-macros.S) */
48 define_tlb_functions v3, v3_tlb_flags