pgtable.h (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) | pgtable.h (2f0584f3f4bd60bcc8735172981fb0bff86e74e0) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * OpenRISC Linux 4 * 5 * Linux architectural port borrowing liberally from similar works of 6 * others. All original copyrights apply as per the original source 7 * declaration. 8 * --- 236 unchanged lines hidden (view full) --- 245} 246 247static inline pte_t pte_mkold(pte_t pte) 248{ 249 pte_val(pte) &= ~(_PAGE_ACCESSED); 250 return pte; 251} 252 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * OpenRISC Linux 4 * 5 * Linux architectural port borrowing liberally from similar works of 6 * others. All original copyrights apply as per the original source 7 * declaration. 8 * --- 236 unchanged lines hidden (view full) --- 245} 246 247static inline pte_t pte_mkold(pte_t pte) 248{ 249 pte_val(pte) &= ~(_PAGE_ACCESSED); 250 return pte; 251} 252 |
253static inline pte_t pte_mkwrite(pte_t pte) | 253static inline pte_t pte_mkwrite_novma(pte_t pte) |
254{ 255 pte_val(pte) |= _PAGE_WRITE; 256 return pte; 257} 258 259static inline pte_t pte_mkread(pte_t pte) 260{ 261 pte_val(pte) |= _PAGE_READ; --- 170 unchanged lines hidden --- | 254{ 255 pte_val(pte) |= _PAGE_WRITE; 256 return pte; 257} 258 259static inline pte_t pte_mkread(pte_t pte) 260{ 261 pte_val(pte) |= _PAGE_READ; --- 170 unchanged lines hidden --- |