patch-2.4.2 linux/arch/sparc/kernel/sun4m_smp.c
Next file: linux/arch/sparc/kernel/sys_sunos.c
Previous file: linux/arch/sparc/kernel/sun4m_irq.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Feb 9 11:37:03 2001
- Orig file:
v2.4.1/linux/arch/sparc/kernel/sun4m_smp.c
- Orig date:
Tue Nov 28 21:53:44 2000
diff -u --recursive --new-file v2.4.1/linux/arch/sparc/kernel/sun4m_smp.c linux/arch/sparc/kernel/sun4m_smp.c
@@ -256,8 +256,8 @@
}
printk("Total of %d Processors activated (%lu.%02lu BogoMIPS).\n",
cpucount + 1,
- (bogosum + 2500)/500000,
- ((bogosum + 2500)/5000)%100);
+ bogosum/(500000/HZ),
+ (bogosum/(5000/HZ))%100);
smp_activated = 1;
smp_num_cpus = cpucount + 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)