tlbflush.h 916 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. static inline void flush_tlb_kernel_page(unsigned long addr)
  41. {
  42. BUG();
  43. }
  44. #endif /* _H8300_TLBFLUSH_H */