/* * Copyright (C) 2004-2006 Atmel Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#ifndef __ASM_AVR32_TLBFLUSH_H#define __ASM_AVR32_TLBFLUSH_H#include <asm/mmu.h>/* * TLB flushing: * * - flush_tlb() flushes the current mm struct TLBs * - flush_tlb_all() flushes all processes' TLB entries * - flush_tlb_mm(mm) flushes the specified mm context TLBs * - flush_tlb_page(vma, vmaddr) flushes one page * - flush_tlb_range(vma, start, end) flushes a range of pages * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages */externvoidflush_tlb(void);externvoidflush_tlb_all(void);externvoidflush_tlb_mm(structmm_struct*mm);externvoidflush_tlb_range(structvm_area_struct*vma,unsignedlongstart,unsignedlongend);externvoidflush_tlb_page(structvm_area_struct*vma,unsignedlongpage);externvoidflush_tlb_kernel_range(unsignedlongstart,unsignedlongend);#endif /* __ASM_AVR32_TLBFLUSH_H */