Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8c976e34516c9e134488babbb95af182340370c8
Commit:     8c976e34516c9e134488babbb95af182340370c8
Parent:     83d0f2332edb3001617e6a292c4412ae5f2bf659
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 3 18:25:58 2007 +0200
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Wed Jul 4 15:53:16 2007 +0100

    [MIPS] VSMP: Fix initialization ordering bug.
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/kernel/smp-mt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/smp-mt.c b/arch/mips/kernel/smp-mt.c
index b8fa7dd..19b30d6 100644
--- a/arch/mips/kernel/smp-mt.c
+++ b/arch/mips/kernel/smp-mt.c
@@ -236,8 +236,6 @@ void __init plat_smp_setup(void)
        dvpe();
        dmt();
 
-       mips_mt_set_cpuoptions();
-
        /* Put MVPE's into 'configuration state' */
        set_c0_mvpcontrol(MVPCONTROL_VPC);
 
@@ -263,6 +261,8 @@ void __init plat_smp_setup(void)
 
 void __init plat_prepare_cpus(unsigned int max_cpus)
 {
+       mips_mt_set_cpuoptions();
+
        /* set up ipi interrupts */
        if (cpu_has_vint) {
                set_vi_handler(MIPS_CPU_IPI_RESCHED_IRQ, ipi_resched_dispatch);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to