tlb.h 941 B

12345678910111213141516171819202122232425262728293031323334
  1. /* MN10300 TLB definitions
  2. *
  3. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public Licence
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the Licence, or (at your option) any later version.
  10. */
  11. #ifndef _ASM_TLB_H
  12. #define _ASM_TLB_H
  13. #include <asm/tlbflush.h>
  14. extern void check_pgt_cache(void);
  15. /*
  16. * we don't need any special per-pte or per-vma handling...
  17. */
  18. #define tlb_start_vma(tlb, vma) do { } while (0)
  19. #define tlb_end_vma(tlb, vma) do { } while (0)
  20. #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
  21. /*
  22. * .. because we flush the whole mm when it fills up
  23. */
  24. #define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
  25. /* for now, just use the generic stuff */
  26. #include <asm-generic/tlb.h>
  27. #endif /* _ASM_TLB_H */