tlb.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) | tlb.h (ed6a79352cad00e9a49d6e438be40e45107207bf) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __UM_TLB_H 3#define __UM_TLB_H 4 5#include <linux/pagemap.h> 6#include <linux/swap.h> 7#include <asm/percpu.h> 8#include <asm/pgalloc.h> --- 132 unchanged lines hidden (view full) --- 141 do { \ 142 tlb->need_flush = 1; \ 143 __tlb_remove_tlb_entry(tlb, ptep, address); \ 144 } while (0) 145 146#define tlb_remove_huge_tlb_entry(h, tlb, ptep, address) \ 147 tlb_remove_tlb_entry(tlb, ptep, address) 148 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __UM_TLB_H 3#define __UM_TLB_H 4 5#include <linux/pagemap.h> 6#include <linux/swap.h> 7#include <asm/percpu.h> 8#include <asm/pgalloc.h> --- 132 unchanged lines hidden (view full) --- 141 do { \ 142 tlb->need_flush = 1; \ 143 __tlb_remove_tlb_entry(tlb, ptep, address); \ 144 } while (0) 145 146#define tlb_remove_huge_tlb_entry(h, tlb, ptep, address) \ 147 tlb_remove_tlb_entry(tlb, ptep, address) 148 |
149#define tlb_remove_check_page_size_change tlb_remove_check_page_size_change 150static inline void tlb_remove_check_page_size_change(struct mmu_gather *tlb, 151 unsigned int page_size) | 149static inline void tlb_change_page_size(struct mmu_gather *tlb, unsigned int page_size) |
152{ 153} 154 155#define pte_free_tlb(tlb, ptep, addr) __pte_free_tlb(tlb, ptep, addr) 156 157#define pud_free_tlb(tlb, pudp, addr) __pud_free_tlb(tlb, pudp, addr) 158 159#define pmd_free_tlb(tlb, pmdp, addr) __pmd_free_tlb(tlb, pmdp, addr) 160 161#define tlb_migrate_finish(mm) do {} while (0) 162 163#endif | 150{ 151} 152 153#define pte_free_tlb(tlb, ptep, addr) __pte_free_tlb(tlb, ptep, addr) 154 155#define pud_free_tlb(tlb, pudp, addr) __pud_free_tlb(tlb, pudp, addr) 156 157#define pmd_free_tlb(tlb, pmdp, addr) __pmd_free_tlb(tlb, pmdp, addr) 158 159#define tlb_migrate_finish(mm) do {} while (0) 160 161#endif |