]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/asm-ppc64/tlb.h
Merge git://oak/home/sfr/kernels/iseries/work
[karo-tx-linux.git] / include / asm-ppc64 / tlb.h
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
15 #include <asm/tlbflush.h>
16
17 struct mmu_gather;
18
19 extern void pte_free_finish(void);
20
21 static inline void tlb_flush(struct mmu_gather *tlb)
22 {
23         flush_tlb_pending();
24         pte_free_finish();
25 }
26
27 /* Avoid pulling in another include just for this */
28 #define check_pgt_cache()       do { } while (0)
29
30 /* Get the generic bits... */
31 #include <asm-generic/tlb.h>
32
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)
36
37 #define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
38
39 #endif /* _PPC64_TLB_H */