git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
asm-ppc64
/
tlb.h
diff --git
a/include/asm-ppc64/tlb.h
b/include/asm-ppc64/tlb.h
index
6fafb87
..
97cb696
100644
(file)
--- a/
include/asm-ppc64/tlb.h
+++ b/
include/asm-ppc64/tlb.h
@@
-15,7
+15,14
@@
#include <asm/tlbflush.h>
struct mmu_gather;
#include <asm/tlbflush.h>
struct mmu_gather;
-static inline void tlb_flush(struct mmu_gather *tlb);
+
+extern void pte_free_finish(void);
+
+static inline void tlb_flush(struct mmu_gather *tlb)
+{
+ flush_tlb_pending();
+ pte_free_finish();
+}
/* Avoid pulling in another include just for this */
#define check_pgt_cache() do { } while (0)
/* Avoid pulling in another include just for this */
#define check_pgt_cache() do { } while (0)
@@
-29,12
+36,4
@@
static inline void tlb_flush(struct mmu_gather *tlb);
#define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
#define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
-extern void pte_free_finish(void);
-
-static inline void tlb_flush(struct mmu_gather *tlb)
-{
- flush_tlb_pending();
- pte_free_finish();
-}
-
#endif /* _PPC64_TLB_H */
#endif /* _PPC64_TLB_H */