ASoC: simplify the SSP DMA parameters settings by run-time generation
[sfrench/cifs-2.6.git] / include / asm-mn10300 / pgtable.h
index 375c4941dedaef42a8a496d482dd6215f19d1e89..6dc30fc827c458d5d2c6e67f964a79b720a96bdc 100644 (file)
@@ -224,6 +224,7 @@ static inline int pte_read(pte_t pte)       { return pte_val(pte) & __PAGE_PROT_USER;
 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; }
 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
 static inline int pte_write(pte_t pte) { return pte_val(pte) & __PAGE_PROT_WRITE; }
+static inline int pte_special(pte_t pte){ return 0; }
 
 /*
  * The following only works if pte_present() is not true.
@@ -265,6 +266,8 @@ static inline pte_t pte_mkwrite(pte_t pte)
        return pte;
 }
 
+static inline pte_t pte_mkspecial(pte_t pte)   { return pte; }
+
 #define pte_ERROR(e) \
        printk(KERN_ERR "%s:%d: bad pte %08lx.\n", \
               __FILE__, __LINE__, pte_val(e))