lkml.org 
[lkml]   [2011]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: ia64 broken by transparent huge pages - other arches too?
    From
    On Fri, Jan 14, 2011 at 10:30 AM, Andrea Arcangeli <aarcange@redhat.com> 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@redhat.com>
    >
    > Implement __pmd macro for ia64 too.
    >
    > Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
    > ---
    >
    > 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-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-01-14 19:53    [W:0.028 / U:30.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site