diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | linux/dev/init/main.c | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -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. */ |