|
@@ -114,7 +114,6 @@ extern unsigned long empty_zero_page;
|
|
static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; }
|
|
static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; }
|
|
static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; }
|
|
static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; }
|
|
static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
|
|
static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
|
|
-static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; }
|
|
|
|
static inline int pte_special(pte_t pte) { return 0; }
|
|
static inline int pte_special(pte_t pte) { return 0; }
|
|
|
|
|
|
static inline pte_t pte_wrprotect(pte_t pte)
|
|
static inline pte_t pte_wrprotect(pte_t pte)
|
|
@@ -290,9 +289,6 @@ static inline void update_mmu_cache(struct vm_area_struct * vma,
|
|
*/
|
|
*/
|
|
#define pgtable_cache_init() do { } while (0)
|
|
#define pgtable_cache_init() do { } while (0)
|
|
|
|
|
|
-#define pte_to_pgoff(x) (pte_val(x) >> 6)
|
|
|
|
-#define pgoff_to_pte(x) __pte(((x) << 6) | _PAGE_FILE)
|
|
|
|
-
|
|
|
|
typedef pte_t *pte_addr_t;
|
|
typedef pte_t *pte_addr_t;
|
|
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
#endif /* __ASSEMBLY__ */
|