tlb-nommu.c 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * arch/sh/mm/tlb-nommu.c
  3. *
  4. * TLB Operations for MMUless SH.
  5. *
  6. * Copyright (C) 2002 Paul Mundt
  7. *
  8. * Released under the terms of the GNU GPL v2.0.
  9. */
  10. #include <linux/kernel.h>
  11. #include <linux/mm.h>
  12. #include <asm/pgtable.h>
  13. #include <asm/tlbflush.h>
  14. /*
  15. * Nothing too terribly exciting here ..
  16. */
  17. void local_flush_tlb_all(void)
  18. {
  19. BUG();
  20. }
  21. void local_flush_tlb_mm(struct mm_struct *mm)
  22. {
  23. BUG();
  24. }
  25. void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
  26. unsigned long end)
  27. {
  28. BUG();
  29. }
  30. void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
  31. {
  32. BUG();
  33. }
  34. void local_flush_tlb_one(unsigned long asid, unsigned long page)
  35. {
  36. BUG();
  37. }
  38. void local_flush_tlb_kernel_range(unsigned long start, unsigned long end)
  39. {
  40. BUG();
  41. }
  42. void update_mmu_cache(struct vm_area_struct * vma,
  43. unsigned long address, pte_t pte)
  44. {
  45. BUG();
  46. }
  47. void __init page_table_range_init(unsigned long start, unsigned long end,
  48. pgd_t *pgd_base)
  49. {
  50. }
  51. void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
  52. {
  53. }