Re: [PATCH 1/4] x86-pte_huge
From: Dave Hansen <hidden>
Date: 2005-08-17 19:18:10
On Wed, 2005-08-17 at 14:03 -0500, Adam Litke wrote:
quoted hunk ↗ jump to hunk
@@ -254,8 +255,8 @@ extern inline int pte_dirty(pte_t pte) extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } +static inline int pte_huge(pte_t pte) { return (pte_val(pte) & __LARGE_PTE) == __LARGE_PTE; }
Looks like a little whitespace issue. Probably just tabs vs. spaces. -- Dave -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>