![]() | |||||||||||||
Messages in this thread |
I will probably substitute "clock rate" by "clock speed". I will put #ifdef statements for SMP around the code to disable this in multi-processor enviroments. Somebody please tell me how I can make the code not lock up on these machines. If the clock speed should be probed during system startup, then I will need to do this after the IRQs and jiffies have been initialized, probably just after computing the bogomips. However, I haven't found any arch/i386 init code that is run after enabling interrupts. Should I put #ifdef around the call to getmhz() in ./init/main.c ? How would the #ifdef statement need to look? Please comment on this. I have little clue :) Have fun, Stephan ----------------------------------------------- Stephan Meyer +49-89-4301114 Stephan.Meyer@munich.netsurf.de http://fatman.mathematik.tu-muenchen.de/~meyer/ ----------------------------------------------- | ||||||||||||
| Last update: 2005-03-22 13:38 [from the cache] ©2003-2008 | |||||||||||||