]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hugetlb: add pte_huge() macro
authorAdam Litke <agl@us.ibm.com>
Sat, 3 Sep 2005 22:54:59 +0000 (15:54 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:46 +0000 (00:05 -0700)
commit32e51a8c976fc72c3e9bcece9767d9908816bf8e
tree480c62a4839b6c9553689da76f49fc208c6ac7f5
parentfd195c49fb17a21e232f50bddb2267150053cf34
[PATCH] hugetlb: add pte_huge() macro

This patch adds a macro pte_huge(pte) for i386/x86_64 which is needed by a
patch later in the series.  Instead of repeating (_PAGE_PRESENT |
_PAGE_PSE), I've added __LARGE_PTE to i386 to match x86_64.

Signed-off-by: Adam Litke <agl@us.ibm.com>
Cc: <linux-mm@kvack.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/pgtable.h
include/asm-x86_64/pgtable.h