[PATCH] Kprobes: Track kprobe on a per_cpu basis - i386 changes
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-v850 / tlbflush.h
blob5f2f85f636ea74bc0fe019ef51c53e978ac9a348
1 /*
2 * include/asm-v850/tlbflush.h
4 * Copyright (C) 2001,02,03 NEC Electronics Corporation
5 * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
7 * This file is subject to the terms and conditions of the GNU General
8 * Public License. See the file COPYING in the main directory of this
9 * archive for more details.
11 * Written by Miles Bader <miles@gnu.org>
14 #ifndef __V850_TLBFLUSH_H__
15 #define __V850_TLBFLUSH_H__
17 #include <asm/machdep.h>
21 * flush all user-space atc entries.
23 static inline void __flush_tlb(void)
25 BUG ();
28 static inline void __flush_tlb_one(unsigned long addr)
30 BUG ();
33 #define flush_tlb() __flush_tlb()
36 * flush all atc entries (both kernel and user-space entries).
38 static inline void flush_tlb_all(void)
40 BUG ();
43 static inline void flush_tlb_mm(struct mm_struct *mm)
45 BUG ();
48 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr)
50 BUG ();
53 static inline void flush_tlb_range(struct vm_area_struct *vma,
54 unsigned long start, unsigned long end)
56 BUG ();
59 static inline void flush_tlb_kernel_page(unsigned long addr)
61 BUG ();
64 static inline void flush_tlb_pgtables(struct mm_struct *mm,
65 unsigned long start, unsigned long end)
67 BUG ();
70 #endif /* __V850_TLBFLUSH_H__ */