tlbflush.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #ifndef _H8300_TLBFLUSH_H
  2. #define _H8300_TLBFLUSH_H
  3. /*
  4. * Copyright (C) 2000 Lineo, David McCullough <davidm@uclinux.org>
  5. * Copyright (C) 2000-2002, Greg Ungerer <gerg@snapgear.com>
  6. */
  7. #include <asm/setup.h>
  8. /*
  9. * flush all user-space atc entries.
  10. */
  11. static inline void __flush_tlb(void)
  12. {
  13. BUG();
  14. }
  15. static inline void __flush_tlb_one(unsigned long addr)
  16. {
  17. BUG();
  18. }
  19. #define flush_tlb() __flush_tlb()
  20. /*
  21. * flush all atc entries (both kernel and user-space entries).
  22. */
  23. static inline void flush_tlb_all(void)
  24. {
  25. BUG();
  26. }
  27. static inline void flush_tlb_mm(struct mm_struct *mm)
  28. {
  29. BUG();
  30. }
  31. static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr)
  32. {
  33. BUG();
  34. }
  35. static inline void flush_tlb_range(struct mm_struct *mm,
  36. unsigned long start, unsigned long end)
  37. {
  38. BUG();
  39. }
  40. extern inline void flush_tlb_kernel_page(unsigned long addr)
  41. {
  42. BUG();
  43. }
  44. extern inline void flush_tlb_pgtables(struct mm_struct *mm,
  45. unsigned long start, unsigned long end)
  46. {
  47. BUG();
  48. }
  49. #endif /* _H8300_TLBFLUSH_H */