On Fri, Jan 14, 2011 at 10:30 AM, Andrea Arcangeli <aarcange@xxxxxxxxxx> wrote: > Would you be willing to implement __pmd for ia64 to fix this? Can you > check if this works? > > Thanks a lot, > Andrea > > ======== > Subject: fix ia64 build failure in pmdp_get_and_clear > > From: Andrea Arcangeli <aarcange@xxxxxxxxxx> > > Implement __pmd macro for ia64 too. > > Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx> > --- > > diff --git a/arch/ia64/include/asm/page.h b/arch/ia64/include/asm/page.h > index 41b6d31..961a16f 100644 > --- a/arch/ia64/include/asm/page.h > +++ b/arch/ia64/include/asm/page.h > @@ -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 */ Yes that works. Thanks. I'll apply to my ia64 tree and ask Linus to pull it. -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html