adding accuracy to random timers on PPC - new config option or runtime overhead?

From: Chris Friesen (cfriesen@nortelnetworks.com)
Date: Wed Aug 22 2001 - 12:31:39 EST


I'm looking at putting in PPC-specific code in add_timer_randomness() that would
be similar to the x86-specific stuff.

The problem is that the PPC601 uses real time clock registers while the other
PPC chips use a timebase register, so two different versions will be required.
Should I try and identify at runtime which it is (which would be extra
overhead), or should I add another config option to the kernel?

Thanks,

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:49 EST