pgtable.h (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) | pgtable.h (2f0584f3f4bd60bcc8735172981fb0bff86e74e0) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef __ASM_CSKY_PGTABLE_H 4#define __ASM_CSKY_PGTABLE_H 5 6#include <asm/fixmap.h> 7#include <asm/memory.h> 8#include <asm/addrspace.h> --- 162 unchanged lines hidden (view full) --- 171} 172 173static inline pte_t pte_mkold(pte_t pte) 174{ 175 pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_VALID); 176 return pte; 177} 178 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef __ASM_CSKY_PGTABLE_H 4#define __ASM_CSKY_PGTABLE_H 5 6#include <asm/fixmap.h> 7#include <asm/memory.h> 8#include <asm/addrspace.h> --- 162 unchanged lines hidden (view full) --- 171} 172 173static inline pte_t pte_mkold(pte_t pte) 174{ 175 pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_VALID); 176 return pte; 177} 178 |
179static inline pte_t pte_mkwrite(pte_t pte) | 179static inline pte_t pte_mkwrite_novma(pte_t pte) |
180{ 181 pte_val(pte) |= _PAGE_WRITE; 182 if (pte_val(pte) & _PAGE_MODIFIED) 183 pte_val(pte) |= _PAGE_DIRTY; 184 return pte; 185} 186 187static inline pte_t pte_mkdirty(pte_t pte) --- 85 unchanged lines hidden --- | 180{ 181 pte_val(pte) |= _PAGE_WRITE; 182 if (pte_val(pte) & _PAGE_MODIFIED) 183 pte_val(pte) |= _PAGE_DIRTY; 184 return pte; 185} 186 187static inline pte_t pte_mkdirty(pte_t pte) --- 85 unchanged lines hidden --- |