projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPARC]: Merge asm-sparc{,64}/div64.h
[cascardo/linux.git]
/
include
/
asm-sparc64
/
tlb.h
diff --git
a/include/asm-sparc64/tlb.h
b/include/asm-sparc64/tlb.h
index
7af1e11
..
ec81cde
100644
(file)
--- a/
include/asm-sparc64/tlb.h
+++ b/
include/asm-sparc64/tlb.h
@@
-2,6
+2,7
@@
#define _SPARC64_TLB_H
#include <linux/swap.h>
#define _SPARC64_TLB_H
#include <linux/swap.h>
+#include <linux/pagemap.h>
#include <asm/pgalloc.h>
#include <asm/tlbflush.h>
#include <asm/mmu_context.h>
#include <asm/pgalloc.h>
#include <asm/tlbflush.h>
#include <asm/mmu_context.h>
@@
-99,8
+100,8
@@
static inline void tlb_remove_page(struct mmu_gather *mp, struct page *page)
}
#define tlb_remove_tlb_entry(mp,ptep,addr) do { } while (0)
}
#define tlb_remove_tlb_entry(mp,ptep,addr) do { } while (0)
-#define pte_free_tlb(mp,
ptepage) pte_free(
ptepage)
-#define pmd_free_tlb(mp,
pmdp) pmd_free(
pmdp)
+#define pte_free_tlb(mp,
ptepage) pte_free((mp)->mm,
ptepage)
+#define pmd_free_tlb(mp,
pmdp) pmd_free((mp)->mm,
pmdp)
#define pud_free_tlb(tlb,pudp) __pud_free_tlb(tlb,pudp)
#define tlb_migrate_finish(mm) do { } while (0)
#define pud_free_tlb(tlb,pudp) __pud_free_tlb(tlb,pudp)
#define tlb_migrate_finish(mm) do { } while (0)