[PATCH] aic7xxx_osm build fix
[cris-mirror.git] / include / asm-ppc64 / tlb.h
blob97cb696ce68d09cf70ea46f585494e258a34a38b
1 /*
2 * TLB shootdown specifics for PPC64
4 * Copyright (C) 2002 Anton Blanchard, IBM Corp.
5 * Copyright (C) 2002 Paul Mackerras, IBM Corp.
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.
12 #ifndef _PPC64_TLB_H
13 #define _PPC64_TLB_H
15 #include <asm/tlbflush.h>
17 struct mmu_gather;
19 extern void pte_free_finish(void);
21 static inline void tlb_flush(struct mmu_gather *tlb)
23 flush_tlb_pending();
24 pte_free_finish();
27 /* Avoid pulling in another include just for this */
28 #define check_pgt_cache() do { } while (0)
30 /* Get the generic bits... */
31 #include <asm-generic/tlb.h>
33 /* Nothing needed here in fact... */
34 #define tlb_start_vma(tlb, vma) do { } while (0)
35 #define tlb_end_vma(tlb, vma) do { } while (0)
37 #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
39 #endif /* _PPC64_TLB_H */