summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--linux/dev/init/main.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c809914..228b214 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,8 @@
* i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define
CONFIG_SMP and __SMP__.
* linux/dev/include/asm-i386/smp.h: New file.
+ * linux/dev/init/main.c [__SMP__ && __i386] (smp_loops_per_tick):
+ Restore variable.
2007-07-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
diff --git a/linux/dev/init/main.c b/linux/dev/init/main.c
index 934cb6f..9ed35d3 100644
--- a/linux/dev/init/main.c
+++ b/linux/dev/init/main.c
@@ -56,6 +56,10 @@
*/
unsigned long loops_per_sec = 1;
+#if defined(__SMP__) && defined(__i386__)
+unsigned long smp_loops_per_tick = 1000000;
+#endif
+
/*
* End of physical memory.
*/