pgtable.h (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) pgtable.h (2f0584f3f4bd60bcc8735172981fb0bff86e74e0)
1/*
2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2009 Wind River Systems Inc
4 *
5 * Based on asm/pgtable-32.h from mips which is:
6 *
7 * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 2003 Ralf Baechle
8 * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc.

--- 115 unchanged lines hidden (view full) ---

124}
125
126static inline pte_t pte_mkold(pte_t pte)
127{
128 pte_val(pte) &= ~_PAGE_ACCESSED;
129 return pte;
130}
131
1/*
2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2009 Wind River Systems Inc
4 *
5 * Based on asm/pgtable-32.h from mips which is:
6 *
7 * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 2003 Ralf Baechle
8 * Copyright (C) 1999, 2000, 2001 Silicon Graphics, Inc.

--- 115 unchanged lines hidden (view full) ---

124}
125
126static inline pte_t pte_mkold(pte_t pte)
127{
128 pte_val(pte) &= ~_PAGE_ACCESSED;
129 return pte;
130}
131
132static inline pte_t pte_mkwrite(pte_t pte)
132static inline pte_t pte_mkwrite_novma(pte_t pte)
133{
134 pte_val(pte) |= _PAGE_WRITE;
135 return pte;
136}
137
138static inline pte_t pte_mkdirty(pte_t pte)
139{
140 pte_val(pte) |= _PAGE_DIRTY;

--- 139 unchanged lines hidden ---
133{
134 pte_val(pte) |= _PAGE_WRITE;
135 return pte;
136}
137
138static inline pte_t pte_mkdirty(pte_t pte)
139{
140 pte_val(pte) |= _PAGE_DIRTY;

--- 139 unchanged lines hidden ---