[IA64] fix ia64 build failure in pmdp_get_and_clear
authorAndrea Arcangeli <aarcange@redhat.com>
Fri, 14 Jan 2011 18:56:38 +0000 (10:56 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 14 Jan 2011 18:56:38 +0000 (10:56 -0800)
Implement __pmd macro for ia64 too.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/page.h

index 41b6d31..961a16f 100644 (file)
@@ -189,6 +189,7 @@ get_order (unsigned long size)
 # define pgprot_val(x) ((x).pgprot)
 
 # define __pte(x)      ((pte_t) { (x) } )
+# define __pmd(x)      ((pmd_t) { (x) } )
 # define __pgprot(x)   ((pgprot_t) { (x) } )
 
 #else /* !STRICT_MM_TYPECHECKS */