lkml.org 
[lkml]   [2004]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] PPC64 mmu_context_init needs to run earlier
    Paul Mackerras <paulus@samba.org> wrote:
    >
    > This patch is from Nathan Lynch <nathanl@austin.ibm.com>.
    >
    > This patch changes mmu_context_init to be called as a core_initcall
    > rather than an arch_initcall, since mmu_context_init needs to run
    > before we try to run any userspace processes, and arch_initcall was
    > found to be too late.
    >

    This all seemed to peter out. Did we end up with a more convincing patch?

    >
    > diff -puN arch/ppc64/mm/init.c~ppc64-make-mmu_context_init-core_initcall arch/ppc64/mm/init.c
    > --- linux-2.6.10-rc1-bk11/arch/ppc64/mm/init.c~ppc64-make-mmu_context_init-core_initcall 2004-11-01 19:51:46.000000000 -0600
    > +++ linux-2.6.10-rc1-bk11-nathanl/arch/ppc64/mm/init.c 2004-11-01 19:53:24.000000000 -0600
    > @@ -529,7 +529,7 @@ static int __init mmu_context_init(void)
    >
    > return 0;
    > }
    > -arch_initcall(mmu_context_init);
    > +core_initcall(mmu_context_init);
    >
    > /*
    > * Do very early mm setup.
    -
    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: 2005-03-22 14:07    [W:0.019 / U:33.724 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site