diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2007-08-04 17:02:13 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:11 +0200 |
commit | 34092331595b5a159cf31217766e5ab237d60749 (patch) | |
tree | 567dda181c7e937d8dc6ce0c60b1ba16cab06607 | |
parent | b6224a7b8f3e9237216025c9578c7b6b8cb0ce86 (diff) |
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
* linux/dev/init/main.c [__SMP__ && __i386] (smp_loops_per_tick):
Restore variable.
-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. */ |