fs: use kmem_cache_zalloc instead
[pv_ops_mirror.git] / include / asm-blackfin / tlbflush.h
blob10a07ba1e011b6f66bff7d34931d9fe97a2d31d1
1 #ifndef _BLACKFIN_TLBFLUSH_H
2 #define _BLACKFIN_TLBFLUSH_H
4 /*
5 * Copyright (C) 2000 Lineo, David McCullough <davidm@uclinux.org>
6 * Copyright (C) 2000-2002, Greg Ungerer <gerg@snapgear.com>
7 */
9 #include <asm/setup.h>
12 * flush all user-space atc entries.
14 static inline void __flush_tlb(void)
16 BUG();
19 static inline void __flush_tlb_one(unsigned long addr)
21 BUG();
24 #define flush_tlb() __flush_tlb()
27 * flush all atc entries (both kernel and user-space entries).
29 static inline void flush_tlb_all(void)
31 BUG();
34 static inline void flush_tlb_mm(struct mm_struct *mm)
36 BUG();
39 static inline void flush_tlb_page(struct vm_area_struct *vma,
40 unsigned long addr)
42 BUG();
45 static inline void flush_tlb_range(struct mm_struct *mm,
46 unsigned long start, unsigned long end)
48 BUG();
51 static inline void flush_tlb_kernel_page(unsigned long addr)
53 BUG();
56 static inline void flush_tlb_pgtables(struct mm_struct *mm,
57 unsigned long start, unsigned long end)
59 BUG();
62 #endif