lkml.org 
[lkml]   [1997]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectx86 clock speed probing
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    [W:0.025 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site