tlbflush.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * include/asm-v850/tlbflush.h
  3. *
  4. * Copyright (C) 2001,02,03 NEC Electronics Corporation
  5. * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
  6. *
  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.
  10. *
  11. * Written by Miles Bader <miles@gnu.org>
  12. */
  13. #ifndef __V850_TLBFLUSH_H__
  14. #define __V850_TLBFLUSH_H__
  15. #include <asm/machdep.h>
  16. /*
  17. * flush all user-space atc entries.
  18. */
  19. static inline void __flush_tlb(void)
  20. {
  21. BUG ();
  22. }
  23. static inline void __flush_tlb_one(unsigned long addr)
  24. {
  25. BUG ();
  26. }
  27. #define flush_tlb() __flush_tlb()
  28. /*
  29. * flush all atc entries (both kernel and user-space entries).
  30. */
  31. static inline void flush_tlb_all(void)
  32. {
  33. BUG ();
  34. }
  35. static inline void flush_tlb_mm(struct mm_struct *mm)
  36. {
  37. BUG ();
  38. }
  39. static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr)
  40. {
  41. BUG ();
  42. }
  43. static inline void flush_tlb_range(struct vm_area_struct *vma,
  44. unsigned long start, unsigned long end)
  45. {
  46. BUG ();
  47. }
  48. static inline void flush_tlb_kernel_page(unsigned long addr)
  49. {
  50. BUG ();
  51. }
  52. static inline void flush_tlb_pgtables(struct mm_struct *mm,
  53. unsigned long start, unsigned long end)
  54. {
  55. BUG ();
  56. }
  57. #endif /* __V850_TLBFLUSH_H__ */