hugetlb.h (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) | hugetlb.h (2f0584f3f4bd60bcc8735172981fb0bff86e74e0) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_GENERIC_HUGETLB_H 3#define _ASM_GENERIC_HUGETLB_H 4 5#include <linux/swap.h> 6#include <linux/swapops.h> 7 8static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) --- 8 unchanged lines hidden (view full) --- 17 18static inline unsigned long huge_pte_dirty(pte_t pte) 19{ 20 return pte_dirty(pte); 21} 22 23static inline pte_t huge_pte_mkwrite(pte_t pte) 24{ | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_GENERIC_HUGETLB_H 3#define _ASM_GENERIC_HUGETLB_H 4 5#include <linux/swap.h> 6#include <linux/swapops.h> 7 8static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) --- 8 unchanged lines hidden (view full) --- 17 18static inline unsigned long huge_pte_dirty(pte_t pte) 19{ 20 return pte_dirty(pte); 21} 22 23static inline pte_t huge_pte_mkwrite(pte_t pte) 24{ |
25 return pte_mkwrite(pte); | 25 return pte_mkwrite_novma(pte); |
26} 27 28#ifndef __HAVE_ARCH_HUGE_PTE_WRPROTECT 29static inline pte_t huge_pte_wrprotect(pte_t pte) 30{ 31 return pte_wrprotect(pte); 32} 33#endif --- 127 unchanged lines hidden --- | 26} 27 28#ifndef __HAVE_ARCH_HUGE_PTE_WRPROTECT 29static inline pte_t huge_pte_wrprotect(pte_t pte) 30{ 31 return pte_wrprotect(pte); 32} 33#endif --- 127 unchanged lines hidden --- |