tlb.h 1010 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * TLB shootdown specifics for PPC64
  3. *
  4. * Copyright (C) 2002 Anton Blanchard, IBM Corp.
  5. * Copyright (C) 2002 Paul Mackerras, IBM Corp.
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version
  10. * 2 of the License, or (at your option) any later version.
  11. */
  12. #ifndef _PPC64_TLB_H
  13. #define _PPC64_TLB_H
  14. #include <asm/tlbflush.h>
  15. struct mmu_gather;
  16. extern void pte_free_finish(void);
  17. static inline void tlb_flush(struct mmu_gather *tlb)
  18. {
  19. flush_tlb_pending();
  20. pte_free_finish();
  21. }
  22. /* Avoid pulling in another include just for this */
  23. #define check_pgt_cache() do { } while (0)
  24. /* Get the generic bits... */
  25. #include <asm-generic/tlb.h>
  26. /* Nothing needed here in fact... */
  27. #define tlb_start_vma(tlb, vma) do { } while (0)
  28. #define tlb_end_vma(tlb, vma) do { } while (0)
  29. #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
  30. #endif /* _PPC64_TLB_H */