pgtable.h (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) | pgtable.h (2f0584f3f4bd60bcc8735172981fb0bff86e74e0) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 4 * Copyright 2003 PathScale, Inc. 5 * Derived from include/asm-i386/pgtable.h 6 */ 7 8#ifndef __UM_PGTABLE_H --- 193 unchanged lines hidden (view full) --- 202} 203 204static inline pte_t pte_mkyoung(pte_t pte) 205{ 206 pte_set_bits(pte, _PAGE_ACCESSED); 207 return(pte); 208} 209 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 4 * Copyright 2003 PathScale, Inc. 5 * Derived from include/asm-i386/pgtable.h 6 */ 7 8#ifndef __UM_PGTABLE_H --- 193 unchanged lines hidden (view full) --- 202} 203 204static inline pte_t pte_mkyoung(pte_t pte) 205{ 206 pte_set_bits(pte, _PAGE_ACCESSED); 207 return(pte); 208} 209 |
210static inline pte_t pte_mkwrite(pte_t pte) | 210static inline pte_t pte_mkwrite_novma(pte_t pte) |
211{ 212 if (unlikely(pte_get_bits(pte, _PAGE_RW))) 213 return pte; 214 pte_set_bits(pte, _PAGE_RW); 215 return(pte_mknewprot(pte)); 216} 217 218static inline pte_t pte_mkuptodate(pte_t pte) --- 122 unchanged lines hidden --- | 211{ 212 if (unlikely(pte_get_bits(pte, _PAGE_RW))) 213 return pte; 214 pte_set_bits(pte, _PAGE_RW); 215 return(pte_mknewprot(pte)); 216} 217 218static inline pte_t pte_mkuptodate(pte_t pte) --- 122 unchanged lines hidden --- |